3 # Test to make sure config.h can be in subdir.
5 .
$srcdir/defs ||
exit 1
7 cat > configure.
in << 'END'
9 AM_CONFIG_HEADER
(subdir
/config.h
)
15 AC_OUTPUT
(Makefile subdir
/Makefile
)
18 cat > Makefile.am
<< 'END'
23 cat > subdir
/Makefile.am
<< 'END'
27 : > subdir
/config.h.
in
31 # Make sure subdir Makefile.in doesn't itself look in the subdir.
32 (grep 'subdir/config.h' subdir
/Makefile.
in |
grep -v CONFIG_HEADERS
) && exit 1