+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...
# $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.
return undef;
}
- foreach my $path (reverse @include)
+ foreach my $path (@include)
{
return canonpath (catfile ($path, $filename))
if -e catfile ($path, $filename);
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: