typo + new comment
[automake.git] / tests / confh3.test
blob044dfbfcce02e12d6563108295ab552a34230531
1 #! /bin/sh
3 # Another test to make sure stamp files created correctly.
4 # Report from Erez Zadok.
6 . $srcdir/defs || exit 1
8 cat > configure.in << 'END'
9 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
10 PACKAGE=nonesuch
11 VERSION=nonesuch
12 AC_ARG_PROGRAM
13 AC_PROG_INSTALL
14 AC_PROG_MAKE_SET
15 AM_CONFIG_HEADER(d1/config.h:d2/config.h.in)
16 AC_OUTPUT(Makefile d1/Makefile)
17 END
19 : > Makefile.am
20 : > acconfig.h
22 mkdir d1 d2
24 : > d1/Makefile.am
26 : > d2/config.h.in
28 $AUTOMAKE || exit 1
30 grep '^config.h:' d1/Makefile.in || exit 1
31 fgrep 'echo timestamp > stamp-h' d1/Makefile.in || exit 1
32 fgrep '../d2/config.h.in' d1/Makefile.in || exit 1