hopefully fix the bison and flex tests once and for all... (finally tested the flex test properly :P)

This commit is contained in:
Bill Currie 2006-01-18 12:03:12 +00:00 committed by Jeff Teunissen
parent b43b44e556
commit bc9fcc3dc7
1 changed files with 8 additions and 0 deletions

View File

@ -98,11 +98,19 @@ PKG_PROG_PKG_CONFIG
AC_PROG_YACC
if echo $YACC | grep -v bison > /dev/null; then
AC_MSG_ERROR(GNU bison is required but wasn't found)
else
if echo $YACC | grep missing > /dev/null; then
AC_MSG_ERROR(GNU bison is required but wasn't found)
fi
fi
AM_PROG_LEX
if echo $LEX | grep -v flex > /dev/null; then
AC_MSG_ERROR(GNU flex is required but wasn't found)
else
if echo $LEX | grep missing > /dev/null; then
AC_MSG_ERROR(GNU flex is required but wasn't found)
fi
fi