3 # Make sure when using SUBDIR that all BUILT_SOURCES are built.
4 # A bug occurred where subdirs do not have all-recursive or
5 # all-recursive-am which depended on BUILT_SOURCES.
7 . $srcdir/defs || exit 1
13 cat > configure.in << 'END'
15 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
18 AC_OUTPUT(Makefile lib/Makefile)
21 # Files required because we are using `--gnu'.
29 cat > Makefile.am << 'END'
33 cat > lib/Makefile.am << 'END'
35 noinst_LIBRARIES = libfoo.a
36 libfoo_a_SOURCES = foo.c
39 echo \#define FOO_DEFINE 1 >$@
42 cat > lib/foo.c << 'END'
44 int foo () { return !FOO_DEFINE;}
52 $AUTOMAKE --include-deps --copy --force-missing --add-missing --gnu
56 # Remove the comment to get a successful test.