Commit b53bb419 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Make non-existence of (f)lex an error.

parent bfae5c83
...@@ -59,6 +59,14 @@ AC_PROG_CPP ...@@ -59,6 +59,14 @@ AC_PROG_CPP
AC_PATH_XTRA AC_PATH_XTRA
AC_PROG_YACC AC_PROG_YACC
AC_PROG_LEX AC_PROG_LEX
AC_CHECK_PROGS(XLEX,$LEX flex lex,none)
if test "$XLEX" = "none"
then
echo "*** Error: No suitable lex found. ***"
echo " Please install the 'flex' package."
exit 1
fi
AC_DECL_YYTEXT
AC_PROG_RANLIB AC_PROG_RANLIB
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_LN_S AC_PROG_LN_S
......
...@@ -44,6 +44,9 @@ ...@@ -44,6 +44,9 @@
/* Define if the X Window System is missing or not being used. */ /* Define if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING #undef X_DISPLAY_MISSING
/* Define if lex declares yytext as a char * by default, not a char[]. */
#undef YYTEXT_POINTER
/* Define if symbols declared in assembly code need an underscore prefix */ /* Define if symbols declared in assembly code need an underscore prefix */
#undef NEED_UNDERSCORE_PREFIX #undef NEED_UNDERSCORE_PREFIX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment