#! /bin/sh
# Test to make sure yacc + c++ works.
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CXX
AC_PROG_YACC
END
cat > Makefile.am << 'END'
bin_PROGRAMS = zardoz
zardoz_SOURCES = zardoz.yy
END
$AUTOMAKE || exit 1
grep zardoz.cc Makefile.in