Make non-existence of (f)lex an error.
This commit is contained in:
parent
bfae5c8382
commit
b53bb4197e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue