MFH: Only care about wrong flex version, when needed.

This commit is contained in:
Stefan Esser 2006-06-16 08:01:03 +00:00
parent 6c310f9c0a
commit 6320ee11cf

View File

@ -2048,7 +2048,8 @@ 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_ERROR([$flex_msg])
AC_MSG_WARN([$flex_msg])
LEX="echo \"error: $flex_msg\" 1>&2 ; exit 1;"
;;
esac
PHP_SUBST(LEX)