From: Tom Tromey Date: Wed, 28 Apr 1999 10:47:01 +0000 (+0000) Subject: * automake.in (finish_languages): Fixed scoping of ltcompile and X-Git-Tag: merging-into-user-dep-gen~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88df846ab902d410641876a95587fcb5c79e2eef;p=thirdparty%2Fautomake.git * automake.in (finish_languages): Fixed scoping of ltcompile and ltlink. From Pavel Roskin. --- diff --git a/ChangeLog b/ChangeLog index 6a7e28863..671b13fa2 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 9226e8299..60cee9bf7 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,