Abort if we do not find yacc or bison.

This commit is contained in:
Marcus Meissner 2002-01-22 18:28:25 +00:00 committed by Alexandre Julliard
parent a3ff175ef2
commit 5c5a62170e
2 changed files with 349 additions and 296 deletions

635
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -55,6 +55,16 @@ AC_PROG_CPP
AC_PATH_XTRA
AC_PROG_YACC
AC_PROG_LEX
dnl **** Just additional warning checks, since AC_PROG just sets 'yacc' even
dnl **** without one present.
AC_CHECK_PROGS(XYACC,$YACC bison yacc,none)
if test "$XYACC" = "none"
then
echo "*** Error: No suitable bison/yacc found. ***"
echo " Please install the 'bison' package."
exit 1
fi
AC_CHECK_PROGS(XLEX,$LEX flex lex,none)
if test "$XLEX" = "none"
then