do not allow stamp-h in AC_OUTPUT
[automake.git] / tests / lex2.test
blobed8ee81aa5b5aeff00d18d3dab26851b253f99a5
1 #! /bin/sh
3 # Test of lex error case.
5 . $srcdir/defs || exit 1
7 cat >> configure.in << 'END'
8 AC_PROG_LEX
9 AC_DECL_YYTEXT
10 AC_PROG_CC
11 END
13 cat > Makefile.am << 'END'
14 bin_PROGRAMS = zot
15 zot_SOURCES = joe.l
16 END
18 : > joe.l
20 $AUTOMAKE && exit 1
21 exit 0