3 # Make sure `compile' is included when subdir-objects is used in a subdir.
5 .
$srcdir/defs ||
exit 1
7 cat > configure.
in << 'END'
9 AC_CONFIG_AUX_DIR
(tools
)
10 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
13 AC_OUTPUT
(Makefile foo
/Makefile
)
16 mkdir tools foo foo
/bar
18 cat > Makefile.am
<< 'END'
22 cat > foo
/Makefile.am
<< 'EOF'
23 AUTOMAKE_OPTIONS
= subdir-objects
25 mumble_SOURCES
= bar
/a.c
29 $AUTOMAKE --add-missing ||
exit 1
30 test -f tools
/compile ||
exit 1