]> sourceware.org Git - automake.git/commitdiff
For for ansi2knr report from Harlan Stenn:
authorTom Tromey <tromey@redhat.com>
Sun, 20 May 2001 04:40:51 +0000 (04:40 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 20 May 2001 04:40:51 +0000 (04:40 +0000)
* automake.in (generate_makefile): Run handle_compile before
handle_languages.

ChangeLog
automake.in

index 437707c2a569bf70a166bb4243fa09d21d49f7e7..781751be550ec5a193b4781dd629b036bba0cbfd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-19  Tom Tromey  <tromey@redhat.com>
+
+       For for ansi2knr report from Harlan Stenn:
+       * automake.in (generate_makefile): Run handle_compile before
+       handle_languages.
+
 2001-05-18  Tom Tromey  <tromey@redhat.com>
 
        * automake.in: Reverted erroneous checkin.
index f09075e76c3e5b3bb9414bbf5cd3a091b4194b66..55a16cca710f45d3ec1bbe4ab0c3092dfca9c1a5 100755 (executable)
@@ -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).
This page took 0.03552 seconds and 5 git commands to generate.