Skip to content
Snippets Groups Projects
Commit b02472bd authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Fail the configure check if LEX is not flex

parent 4afb4762
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,11 @@ LT_INIT
# Checks for programs.
AC_PROG_CC
AC_PROG_LEX
AM_PROG_LEX
LEX_FLEX=`$LEX -version | awk '{print $1}'`
if test "$LEX_FLEX" != "flex"; then
AC_MSG_ERROR([GNU flex needed for reentrant parsers])
fi
AC_PROG_YACC
AC_PROG_INSTALL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment