[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ultrix and 'missing'?

From: Tom Tromey
Subject: Re: ultrix and 'missing'?
Date: 19 May 2001 15:43:12 -0600

>>>>> "Harlan" == Harlan Stenn <address@hidden> writes:

Harlan> However, if I move the lines:
Harlan>  ANSI2KNR = ../util/ansi2knr
Harlan>  ../util/ansi2knr:
Harlan>         cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
Harlan> from their current position in the Makefile (late, after the
Harlan> targets that refer to them) to a position "earlier" in the
Harlan> Makefile, it works.

Yeah, that's evil.  I can't claim to understand it.
Could you try this patch?
(I just wrote it; I haven't tested it yet myself.)

2001-05-19  Tom Tromey  <address@hidden>

        * (generate_makefile): Run handle_compile before


RCS file: /cvs/automake/automake/,v
retrieving revision 1.1126
diff -u -r1.1126
--- 2001/05/18 17:43:46     1.1126
+++ 2001/05/19 21:25:38
@@ -1238,9 +1238,12 @@
+    # 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_compile;
     # Re-init SOURCES.  FIXME: other code shouldn't depend on this
     # (but currently does).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]