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