diff options
-rw-r--r-- | acinclude.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 67a1446de5..428dfa77fe 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2047,8 +2047,9 @@ 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]) + 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;" ;; esac PHP_SUBST(LEX) |