3 # Make sure a top-level depcomp file is found when
4 # AC_CONFIG_AUX_DIR is not specified.
6 .
$srcdir/defs ||
exit 1
10 cat > configure.
in << 'END'
11 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
19 AC_OUTPUT
(Makefile lib
/Makefile src
/Makefile
)
22 # Files required because we are using `--gnu'.
30 cat > Makefile.am
<< 'END'
34 cat > lib
/Makefile.am
<< 'END'
36 noinst_LIBRARIES
= libfoo.a
37 libfoo_a_SOURCES
= foo.c
40 cat > lib
/foo.c
<< 'END'
44 cat > src
/Makefile.am
<< 'END'
49 $AUTOMAKE --gnu ||
exit 1
51 # Make sure that depcomp is *not* included in the definition
52 # of DIST_COMMON in lib/Makefile.in. If you change this test
53 # so that more files are included in lib's DIST_COMMON definition,
54 # then you must handle the case in which depcomp is listed on a
56 grep '^DIST_COMMON.*depcomp' lib
/Makefile.
in && exit 1