* automake.in (require_file_internal): Use readlink on symlinks.
Only unlink file if we are going to try to add it again.
(handle_dependencies): Require `depcomp' here.
(scan_configure): Don't require `depcomp'.
2000-03-19 Tom Tromey <tromey@cygnus.com>
Fix for test nodepcomp.test:
- * automake.in (handle_dependencies): Require `depcomp' here.
+ * automake.in (require_file_internal): Use readlink on symlinks.
+ Only unlink file if we are going to try to add it again.
+ (handle_dependencies): Require `depcomp' here.
(scan_configure): Don't require `depcomp'.
2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
# config_aux_path.
$errfile = $errdir . '/' . $file;
- if (-l $fullfile && ! -f _)
+ if (-l $fullfile && ! -f readlink ($fullfile))
{
$dangling_sym = 1;
last;
{
if ($strictness >= $mystrict)
{
- if ($dangling_sym || $force_missing)
+ if ($dangling_sym && ($force_missing || $add_missing))
{
unlink ($fullfile);
}