Abort configure if lex or flex cannot be found.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@513 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2009-10-21 15:03:56 +00:00
parent 0d2f412ae6
commit 2d92746975
1 changed files with 4 additions and 0 deletions

View File

@ -9,7 +9,11 @@ AC_CONFIG_HEADER(config.h)
AC_PROG_CC(cc gcc)
AC_STDC_HEADERS
AC_PROG_LEX
if test "x$LEX" != xflex; then
AC_MSG_ERROR([lex or flex not found.])
fi
LIBS="$LIBS $LEXLIB"