* automake.in (require_file_internal): Ensure presence of
symlink target file; MSYS perl symlink doesn't return an error
status when the file could not be created (copied, on this
system). Fixes symlink.test failure.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Do not rely on Perl symlink status, for MSYS perl.
+ * automake.in (require_file_internal): Ensure presence of
+ symlink target file; MSYS perl symlink doesn't return an error
+ status when the file could not be created (copied, on this
+ system). Fixes symlink.test failure.
+
2009-12-04 Stefano Lattarini <stefano.lattarini@gmail.com>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
unlink ($fullfile) if -f $fullfile;
if ($symlink_exists && ! $copy_missing)
{
- if (! symlink ("$libdir/$file", $fullfile))
+ if (! symlink ("$libdir/$file", $fullfile)
+ || ! -e $fullfile)
{
$suppress = 0;
$trailer = "; error while making link: $!";