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

This commit is contained in:
Marcus Meissner 2000-07-23 13:41:51 +00:00 committed by Alexandre Julliard
parent bfae5c8382
commit b53bb4197e
3 changed files with 364 additions and 248 deletions

601
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -59,6 +59,14 @@ AC_PROG_CPP
AC_PATH_XTRA
AC_PROG_YACC
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_INSTALL
AC_PROG_LN_S

View File

@ -44,6 +44,9 @@
/* Define if the X Window System is missing or not being used. */
#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 */
#undef NEED_UNDERSCORE_PREFIX