]> granicus.if.org Git - php/commitdiff
MFB:- Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP!
authorfoobar <sniper@php.net>
Thu, 24 May 2007 19:36:12 +0000 (19:36 +0000)
committerfoobar <sniper@php.net>
Thu, 24 May 2007 19:36:12 +0000 (19:36 +0000)
acinclude.m4

index 9d1f0b2716d2d563eb3dcf2215417a4e106a1264..de1393cbf4d5638a0b9f5832efca78a20436feab 100644 (file)
@@ -2050,9 +2050,8 @@ dnl it should be removed once we drop support of autoconf 2.13 (if ever)
   
   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)