MFB: Fixed bug #37413 (Rejected versions of flex that don't work).

This commit is contained in:
Ilia Alshanetsky 2006-05-11 22:05:16 +00:00
parent 78c2c50c86
commit f0a8096a13

View File

@ -2048,8 +2048,7 @@ AC_DEFUN([PHP_PROG_LEX], [
case $php_cv_flex_version in
""|invalid[)]
flex_msg="flex versions supported for regeneration of the Zend/PHP parsers: $flex_version_list (found: $flex_version)."
AC_MSG_WARN([$flex_msg])
LEX="exit 0;"
AC_MSG_ERROR([$flex_msg])
;;
esac
PHP_SUBST(LEX)