From: Tom Tromey Date: Wed, 28 Apr 1999 10:46:59 +0000 (+0000) Subject: * automake.in (finish_languages): Fixed scoping of ltcompile and X-Git-Tag: merging-into-user-dep-gen~23 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=fc0d69b615ec9d5b091216f94cf4835a3c24e4cb;p=automake.git * automake.in (finish_languages): Fixed scoping of ltcompile and ltlink. From Pavel Roskin. --- diff --git a/ChangeLog b/ChangeLog index 6a7e2886..671b13fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-04-28 Tom Tromey + + * automake.in (finish_languages): Fixed scoping of ltcompile and + ltlink. From Pavel Roskin. + 1999-04-27 Tom Tromey * automake.in (read_main_am_file): Don't start macro definition diff --git a/automake.in b/automake.in index 9226e829..60cee9bf 100755 --- a/automake.in +++ b/automake.in @@ -1043,10 +1043,10 @@ sub finish_languages # it. if (! $non_c || scalar keys %suffix_rules > 0) { + local ($ltcompile, $ltlink) = &libtool_compiler; + if (! defined $done{'c'}) { - local ($ltcompile, $ltlink) = &libtool_compiler; - &define_configure_variable ($language_map{'c-flag'}); &define_compiler_variable ($language_map{'c-compiler-name'}, $ltcompile,