3 # Test to make sure config.h can be in subdir.
5 .
$srcdir/defs ||
exit 1
7 cat > configure.
in << 'END'
8 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
10 AM_CONFIG_HEADER
(subdir
/config.h
)
16 AC_OUTPUT
(Makefile subdir
/Makefile
)
19 cat > Makefile.am
<< 'END'
24 cat > subdir
/Makefile.am
<< 'END'
28 : > subdir
/config.h.
in
33 # Make sure subdir Makefile.in doesn't itself look in the subdir.
34 (grep 'subdir/config.h' subdir
/Makefile.
in |
grep -v CONFIG_HEADERS
) && exit 1