do not allow stamp-h in AC_OUTPUT
[automake.git] / tests / stamph.test
blob2152393ba455f2ba1e614910986c0be649c4e6c2
1 #! /bin/sh
3 # Error if stamp-h appears in AC_OUTPUT line.
5 . $srcdir/defs || exit 1
7 cat > configure.in << 'END'
8 PACKAGE=nonesuch
9 VERSION=nonesuch
10 AC_ARG_PROGRAM
11 AM_PROG_INSTALL
12 AC_OUTPUT(Makefile stamp-h)
13 END
15 : > Makefile.am
17 $AUTOMAKE && exit 1
18 exit 0