do not allow stamp-h in AC_OUTPUT
[automake.git] / tests / discover.test
blob2daa9e7748be98bdf96e1427021f56fc00792f97
1 #! /bin/sh
3 # Test to make sure LIBOBJS file cannot be mentioned explicitly.
5 . $srcdir/defs || exit 1
7 cat > configure.in << 'END'
8 PACKAGE=nonesuch
9 VERSION=nonesuch
10 AC_ARG_PROGRAM
11 AC_PROG_INSTALL
12 AC_PROG_RANLIB
13 AC_PROG_CC
14 LIBOBJS="$LIBOBJS fsusage.o"
15 AC_OUTPUT(Makefile)
16 END
18 cat > Makefile.am << 'END'
19 noinst_LIBRARIES = libtu.a
20 libtu_a_SOURCES = fsusage.c
21 libtu_a_LIBADD = @LIBOBJS@
22 END
24 : > fsusage.c
26 $AUTOMAKE && exit 1
27 exit 0