* depcomp (ddashmd): Removed case.
[automake.git] / tests / config.test
blob7c3775a9bbc9e177b94862dac576b18f2f313306
1 #! /bin/sh
3 # Test to make sure config.h rule made even if it is in a subdir. The
4 # idea is that if config.h is in a subdir, and there is no Makefile in
5 # that subdir, then we want to build config.h as the top level.
7 . $srcdir/defs || exit 1
9 cat > configure.in << 'END'
10 AM_CONFIG_HEADER(subdir/config.h)
11 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
12 PACKAGE=nonesuch
13 VERSION=nonesuch
14 AC_PROG_CC
15 AC_ARG_PROGRAM
16 AC_PROG_MAKE_SET
17 AC_PROG_INSTALL
18 AC_OUTPUT(Makefile)
19 END
21 : > Makefile.am
22 mkdir subdir
23 : > subdir/config.h.in
25 $AUTOMAKE || exit 1
27 grep '^subdir/config.h:' Makefile.in