automake-patches
[Top][All Lists]
Advanced

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

FYI: misleading comment


From: Alexandre Duret-Lutz
Subject: FYI: misleading comment
Date: Wed, 31 Dec 2003 23:12:54 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Automake 1.8 output all variables before the rules, so the comment
saying that handle_compile must come before handle_language so that
ANSI2KNR is defined is void.

Checking this in...

2003-12-31  Alexandre Duret-Lutz  <address@hidden>

        * automake.in (generate_makefile): Update misleading comment.

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1529
diff -u -r1.1529 automake.in
--- automake.in 30 Dec 2003 23:49:57 -0000      1.1529
+++ automake.in 31 Dec 2003 22:08:28 -0000
@@ -6875,15 +6875,11 @@
   handle_programs;
   handle_scripts;
 
-  # This must run first so that the ANSI2KNR definition is generated
-  # before it is used by the _.c rules.  We have to do this because
-  # a variable which is used in a dependency must be defined before
-  # the target, or else make won't properly see it.
+  # These must be run after all the sources are scanned.  They
+  # use variables defined by &handle_libraries, &handle_ltlibraries,
+  # or &handle_programs.
   handle_compile;
-  # This must be run after all the sources are scanned.
   handle_languages;
-
-  # We have to run this after dealing with all the programs.
   handle_libtool;
 
   # Variables used by distdir.am and tags.am.


-- 
Alexandre Duret-Lutz





reply via email to

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