3 # Test to make sure depcomp is installed and found properly
4 # when required for multiple directories
6 . $srcdir/defs || exit 1
8 cat > configure.in << 'END'
10 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
12 AC_OUTPUT(subdir/Makefile subdir2/Makefile)
19 cat > subdir/Makefile.am << 'END'
24 cp subdir/Makefile.am subdir2/Makefile.am
30 $AUTOMAKE --add-missing || exit 1
32 # There used to be a bug where this was created in the first subdir with C
33 # sources in it instead of in $top_srcdir or $ac_auxdir
34 test -f depcomp || exit 1