3 # Test to make sure config.h works in a subdir.
4 # Report from Alexandre Oliva.
6 .
$srcdir/defs ||
exit 1
8 cat > configure.
in << 'END'
13 AM_CONFIG_HEADER
(include
/config.h
)
14 AC_OUTPUT
(Makefile include
/Makefile
)
21 : > include
/Makefile.am
22 : > include
/config.h.
in
26 (sed -n -e '/^DIST_COMMON =.*\\$/ {
33 }' -e '/^DIST_COMMON =/ p' Makefile.
in |
grep acconfig.h
) ||
exit 1
35 grep 'stamp-h.in:.*acconfig.h' include
/Makefile.
in ||
exit 1
37 # Make sure re-running automake in a different way generates same
40 $AUTOMAKE Makefile ||
exit 1