From: foobar Date: Thu, 24 May 2007 19:35:46 +0000 (+0000) Subject: - Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! X-Git-Tag: php-5.2.3RC1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91d98d2986c0d77d2ebe66a3a8feff1b8b61edb0;p=php - Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! --- diff --git a/acinclude.m4 b/acinclude.m4 index 24dec1a430..67a1446de5 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2047,9 +2047,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_WARN([$flex_msg]) - LEX="echo \"error: $flex_msg\" 1>&2 ; exit 1;" + flex_msg="flex versions supported for regeneration of the Zend/PHP parsers: $flex_version_list (found: $flex_version)." + AC_MSG_ERROR([$flex_msg]) ;; esac PHP_SUBST(LEX)