Abort configure if we cannot find bison/byacc/yacc.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@512 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2009-10-21 14:59:37 +00:00
parent ada8b7d674
commit 0d2f412ae6
1 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,11 @@ AC_PROG_LEX
LIBS="$LIBS $LEXLIB"
AC_PROG_YACC
AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc)
if test -z "$YACC"; then
AC_MSG_ERROR([bison or yacc not found.])
fi
case "$(uname -s)" in
Linux | *BSD)