From: Tom Tromey Date: Sun, 20 May 2001 04:40:51 +0000 (+0000) Subject: For for ansi2knr report from Harlan Stenn: X-Git-Tag: Release-1-4f~4 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c78d729e40459970eb76fd888c12c43ceca4a9e0;p=automake.git For for ansi2knr report from Harlan Stenn: * automake.in (generate_makefile): Run handle_compile before handle_languages. --- diff --git a/ChangeLog b/ChangeLog index 437707c2..781751be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-05-19 Tom Tromey + + For for ansi2knr report from Harlan Stenn: + * automake.in (generate_makefile): Run handle_compile before + handle_languages. + 2001-05-18 Tom Tromey * automake.in: Reverted erroneous checkin. diff --git a/automake.in b/automake.in index f09075e7..55a16cca 100755 --- a/automake.in +++ b/automake.in @@ -1238,9 +1238,12 @@ sub generate_makefile &handle_programs; &handle_scripts; + # This must run first so that the ANSI2KNR definition is generated + # before it is used by the _.c rules. This works around an + # obscure bug. + &handle_compile; # This must be run after all the sources are scanned. &handle_languages; - &handle_compile; # Re-init SOURCES. FIXME: other code shouldn't depend on this # (but currently does).