]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/Autom4te/General.pm (find_file): Browse the directories in
authorAkim Demaille <akim@epita.fr>
Wed, 17 Jul 2002 16:07:32 +0000 (16:07 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 17 Jul 2002 16:07:32 +0000 (16:07 +0000)
the order they are given.

ChangeLog
lib/Autom4te/General.pm
tests/Makefile.in

index 0810d9bd2755195dc7f95e159ed7f0b8d78aeee9..5585f194c92bc3f14e313341cb24d22d33c7648f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-17  Akim Demaille  <akim@epita.fr>
+
+       * lib/Autom4te/General.pm (find_file): Browse the directories in
+       the order they are given.
+
 2002-07-17  Akim Demaille  <akim@epita.fr>
 
        * tests/wrapsh.as, tests/wrappl.as: Merge into...
index 3a2ddbb7601781d4753784539898950b590e1171..e48d6fc16984d0ae95761591ed76abd8ad98919a 100644 (file)
@@ -225,9 +225,9 @@ sub find_configure_ac (;$)
 # $FILENAME
 # find_file ($FILENAME, @INCLUDE)
 # -------------------------------
-# We match exactly the behavior of GNU m4: first look in the current
+# We match exactly the behavior of GNU M4: first look in the current
 # directory (which includes the case of absolute file names), and, if
-# the file is not absolute, just fail.  Otherwise, look in the path.
+# the file is not absolute, just fail.  Otherwise, look in @INCLUDE.
 #
 # If the file is flagged as optional (ends with `?'), then return undef
 # if absent.
@@ -249,7 +249,7 @@ sub find_file ($@)
       return undef;
     }
 
-  foreach my $path (reverse @include)
+  foreach my $path (@include)
     {
       return canonpath (catfile ($path, $filename))
        if -e catfile ($path, $filename);
index d1e4961d4f3ef4f854d1161b7c79e68636775047..56ac91acca971692bfa7a37b21f867e0c3dcfc2c 100644 (file)
@@ -200,7 +200,7 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
 CONFIG_CLEAN_FILES = atlocal autoconf autoheader autom4te autoreconf \
        autoscan autoupdate ifnames
 DIST_SOURCES =
-DIST_COMMON = Makefile.am Makefile.in atlocal.in
+DIST_COMMON = Makefile.am Makefile.in atlocal.in wrapper.in
 all: all-am
 
 .SUFFIXES: