Tag
Hash :
5cadf3e0
Author :
Date :
2001-06-18T01:08:35
* automake.in (require_file_internal): Check for already-required file after searching for it, and only if it is not found. Don't use `readlink' when checking for dangling symlink. Work if --force-missing specified. * tests/acoutput2.test: Also test --force-missing.
#! /bin/sh
# Test for bug reported by Eric Magnien.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_OUTPUT([subdir/Makefile subdir/foo Makefile foo], [true])
END
mkdir subdir
: > Makefile.am
: > subdir/Makefile.am
: > foo.in
: > subdir/foo.in
$AUTOMAKE || exit 1
count=`fgrep foo.in Makefile.in | wc -l`
test $count -eq 2 || exit 1
# This ought to work as well.
$AUTOMAKE --add-missing --force-missing