| #! /bin/sh | |
| # Test to make sure config.h can be in subdir. | |
| . $srcdir/defs || exit 1 | |
| cat > configure.in << 'END' | |
| AC_PROG_MAKE_SET | |
| AC_CONFIG_HEADER(subdir/config.h) | |
| PACKAGE=nonesuch | |
| VERSION=nonesuch | |
| AC_ARG_PROGRAM | |
| AM_PROG_INSTALL | |
| AC_OUTPUT(Makefile subdir/Makefile) | |
| END | |
| cat > Makefile.am << 'END' | |
| SUBDIRS = subdir | |
| END | |
| mkdir subdir | |
| cat > subdir/Makefile.am << 'END' | |
| bin_PROGRAMS = fred | |
| END | |
| : > subdir/config.h.in | |
| $AUTOMAKE |