autoconf-patches
[Top][All Lists]
Advanced

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

Fix the -B patch


From: Akim Demaille
Subject: Fix the -B patch
Date: 17 Jul 2002 18:02:31 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

This important bit was missing:

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * lib/Autom4te/General.pm (find_file): Browse the directories in
        the order they are given.

Index: lib/Autom4te/General.pm
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/Autom4te/General.pm,v
retrieving revision 1.20
diff -u -u -r1.20 General.pm
--- lib/Autom4te/General.pm 2 Jul 2002 20:31:22 -0000 1.20
+++ lib/Autom4te/General.pm 17 Jul 2002 16:01:09 -0000
@@ -225,9 +225,9 @@
 # $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 @@
       return undef;
     }
 
-  foreach my $path (reverse @include)
+  foreach my $path (@include)
     {
       return canonpath (catfile ($path, $filename))
        if -e catfile ($path, $filename);



reply via email to

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