]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* automake.in (&scan_autoconf_traces): Use eq for equality.
authorAkim Demaille <akim@epita.fr>
Sun, 28 Oct 2001 14:00:09 +0000 (14:00 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 28 Oct 2001 14:00:09 +0000 (14:00 +0000)
Anchor regexps.
Remove dead comment.
(&initialize_per_input): Don't initialize several times the same
vars.

ChangeLog
automake.in

index 200bdc553fe3080ef8a11a1b0c8a2a99cb39177c..d5e1a564a1683bc0360b9b63039143f181a9e04f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2001-10-28  Akim Demaille  <akim@epita.fr>
+
+       * 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.
+
+       
 2001-10-28  Akim Demaille  <akim@epita.fr>
 
        * automake.in (scan_one_autoconf_file): When using %generalize, be
index 251dc9cdc4d886165b57cdc98df74c92bd5dfc8a..c152902b4fbe537dc33a5b5249c542caf8b3e75c 100755 (executable)
@@ -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;
        }