* automake.in (require_file_internal): qub perl on win32 hangs
on a call to unlink for a non-existant file, which in turn causes
tests/symlink.test to hang on win32. Check that the file exists
before unlinking it!
+1999-01-06 Gary V. Vaughan <garyv@oranda.demon.co.uk>
+
+ * automake.in (require_file_internal): qub perl on win32 hangs
+ on a call to unlink for a non-existant file, which in turn causes
+ tests/symlink.test to hang on win32. Check that the file exists
+ before unlinking it!
+
1998-12-24 Thomas Tanner <tanner@gmx.de>
* automake.in (handle_ltlibraries): check whether -module was
# can, copy if we must. Note: delete the file
# first, in case it is a dangling symlink.
$message = "installing \`$errfile'";
- unlink ($errfile);
+ # Windows Perl will hang if we try to delete a
+ # file that doesn't exist.
+ unlink ($errfile) if -f $errfile;
if ($symlink_exists && ! $copy_missing)
{
if (! symlink ($am_dir . '/' . $file, $errfile))