+2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * lib/Autom4te/FileUtils.pm: Sync from Automake.
+
2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
return File::Spec->canonpath ($file_name)
if -e $file_name;
- if (File::Spec->file_name_is_absolute ($file_name))
+ if (!File::Spec->file_name_is_absolute ($file_name))
{
- fatal "$file_name: no such file or directory"
- unless $optional;
- return undef;
- }
-
- foreach my $path (@include)
- {
- return File::Spec->canonpath (File::Spec->catfile ($path, $file_name))
- if -e File::Spec->catfile ($path, $file_name)
+ foreach my $path (@include)
+ {
+ return File::Spec->canonpath (File::Spec->catfile ($path, $file_name))
+ if -e File::Spec->catfile ($path, $file_name)
+ }
}
fatal "$file_name: no such file or directory"
unless $optional;
-
return undef;
}