automake-patches
[Top][All Lists]
Advanced

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

50-fyi-minor-changes.patch


From: Akim Demaille
Subject: 50-fyi-minor-changes.patch
Date: Sun, 28 Oct 2001 14:51:59 +0100

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * automake.in (&scan_autoconf_traces): Use eq for equality.
        Anchor regexps.
        Remove dead comment.
        (&initialize_per_input): Don't initialize several times the same
        vars.
        
        
Index: automake.in
--- automake.in Fri, 26 Oct 2001 19:03:44 +0200 akim
+++ automake.in Fri, 26 Oct 2001 19:19:46 +0200 akim
@@ -688,10 +688,6 @@ sub initialize_per_input ()
 
     @include_stack = ();
 
-    $relative_dir = '';
-
-    $am_relative_dir = '';
-
     %dist_dirs = ();
 
     @all = ();
@@ -4477,18 +4473,14 @@ sub scan_autoconf_traces ($)
        }
       elsif ($macro eq 'AC_LIBSOURCE')
        {
-         # We should actually also `close' the sources: getopt.c
-         # wants getopt.h etc.  But actually it should be done in the
-         # macro itself, i.e., we have to first fix Autoconf to extend
-         # _AC_LIBOBJ_DECL and use it the in various macros.
          $libsources{$args[1]} = $here;
        }
-      elsif ($macro =~ /A(C|M)_PROG_LIBTOOL/)
+      elsif ($macro =~ /^A(C|M)_PROG_LIBTOOL$/)
        {
          $seen_libtool = $here;
          $libtool_location = $here;
        }
-      elsif ($macro =~ /AC_PROG_LEX/)
+      elsif ($macro eq 'AC_PROG_LEX')
        {
          $seen_prog_lex = $here;
        }



reply via email to

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