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:
parent
ada8b7d674
commit
0d2f412ae6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue