Fix for PR automake/14:
[automake.git] / tests / yacc.test
blob3dd07492831eb0c2c8a1b0eb412fa06a73205217
1 #! /bin/sh
3 # Test to make sure intermediate .c file is built from yacc source.
4 # Bug from Thomas Morgan.
6 . $srcdir/defs || exit 1
8 cat >> configure.in << 'END'
9 AC_PROG_CC
10 AC_PROG_YACC
11 END
13 cat > Makefile.am <<'END'
14 bin_PROGRAMS = zardoz
15 zardoz_SOURCES = zardoz.y
16 END
18 $AUTOMAKE || exit 1
20 grep 'zardoz.c' Makefile.in