From: Ilia Alshanetsky Date: Thu, 11 May 2006 22:05:16 +0000 (+0000) Subject: MFB: Fixed bug #37413 (Rejected versions of flex that don't work). X-Git-Tag: BEFORE_NEW_OUTPUT_API~225 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0a8096a132331affd9604dfa27776446ae07f2e;p=php MFB: Fixed bug #37413 (Rejected versions of flex that don't work). --- diff --git a/acinclude.m4 b/acinclude.m4 index 9062f7c247..020f433fb6 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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)