]> granicus.if.org Git - php/commitdiff
MFB: Fixed bug #37413 (Rejected versions of flex that don't work).
authorIlia Alshanetsky <iliaa@php.net>
Thu, 11 May 2006 22:05:16 +0000 (22:05 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 11 May 2006 22:05:16 +0000 (22:05 +0000)
acinclude.m4

index 9062f7c2474e1ae467a8c629020e8d25e5f7e9d0..020f433fb6377fe6192b1a144591468fce36542e 100644 (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)