From 572c57421047ff9197fea54681ac8039166d4098 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 20 May 2001 04:40:51 +0000 Subject: [PATCH] For for ansi2knr report from Harlan Stenn: * automake.in (generate_makefile): Run handle_compile before handle_languages. --- ChangeLog | 6 ++++++ automake.in | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 437707c2a..781751be5 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 f09075e76..55a16cca7 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). -- 2.47.2