]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/Autom4te/General.pm (&find_file): Browse the includes in the
authorAkim Demaille <akim@epita.fr>
Fri, 31 Aug 2001 13:35:39 +0000 (13:35 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 31 Aug 2001 13:35:39 +0000 (13:35 +0000)
inverse order.

BUGS
ChangeLog
doc/autoconf.texi
lib/Autom4te/General.pm

diff --git a/BUGS b/BUGS
index 87f3a1f3d675789dacee9b76f811c958f0cb1578..29799ba6c6cee7711056a1653f09edd6bf432341 100644 (file)
--- a/BUGS
+++ b/BUGS
@@ -35,21 +35,6 @@ address them.
 
 * Status
 
-/*------------------------------------------------------------------.
-| Do not use without perfect knowledge of AC_CHECK_HEADER changes.  |
-`------------------------------------------------------------------*/
-
-** AC_CHECK_HEADER
-
-The handling is being revamped, and has not been tested enough to be
-trusted.  We are *extremely* interested in your comments and
-experience with this being-built new semantics.  Nonetheless it is way
-too soon to use this version even for beta releases.
-
-** make distcheck
-Always fails.  Don't even try.  But once installed Autoconf is usable.
-
-** make check
-Might fail if you have an old version of 2.52c installed on your
-machine.  Please, then run make install before. But once installed
-Autoconf is usable.
+                    /*--------------------------.
+                    | Sane for full scale use.  |
+                    `--------------------------*/
index c3c4e576ad9acd8d74d6b37bbc1ccf45db1a0742..0391a6bd65b642c52aba3f2aeb2c4d8cfc423353 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-31  Akim Demaille  <akim@epita.fr>
+
+       * lib/Autom4te/General.pm (&find_file): Browse the includes in the
+       inverse order.
+
 2001-08-31  Akim Demaille  <akim@epita.fr>
 
        * bin/autoupdate.in (@include): `installcheck' revealed the path
index d624d9f4b7204782873b363d34612bfd4f99aa89..f60919c62a0ed2834de329551b9457701b2a5e57 100644 (file)
@@ -1153,7 +1153,8 @@ Remake @file{configure} even if newer than its input files.
 
 @item --include=@var{dir}
 @itemx -I @var{dir}
-Also look for input files in @var{dir}.  Multiple invocations accumulate.
+Also look for input files in @var{dir}.  Multiple invocations
+accumulate.  Latest directories are looking in first.
 
 @item --output=@var{file}
 @itemx -o @var{file}
@@ -2510,6 +2511,7 @@ Remake the template file even if newer than its input files.
 @item --include=@var{dir}
 @itemx -I @var{dir}
 Also look for input files in @var{dir}.  Multiple invocations accumulate.
+Latest directories are looking in first.
 
 @item --warnings=@var{category}
 @itemx -W @var{category}
@@ -10073,6 +10075,7 @@ Force the update even if the file has not changed.  Disregard the cache.
 @item --include=@var{dir}
 @itemx -I @var{dir}
 Also look for input files in @var{dir}.  Multiple invocations accumulate.
+Latest directories are looking in first.
 @end table
 
 @node Obsolete Macros
index 95893dbf2f9a11db6c5cb18e22a2d6930e3452b3..930646b6adb8dac38788951ecf63ff315f1e87fe 100644 (file)
@@ -140,7 +140,7 @@ sub find_file ($@)
       return undef;
     }
 
-  foreach my $path (@include)
+  foreach my $path (reverse @include)
     {
       return File::Spec->canonpath (File::Spec->catfile ($path, $filename))
        if -e File::Spec->catfile ($path, $filename)