cvs: php-src / acinclude.m4
| From: | Stefan Esser | Date: | Fri, 16 Jun 2006 08:00:24 +0000 |
| Subject: | cvs: php-src / acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38765@lists.php.net to get a copy of this message | ||
sesser Fri Jun 16 08:00:24 2006 UTC
Modified files:
/php-src acinclude.m4
Log:
Fixed that configure bails out on wrong flex version. Now a wrong flex version
will issue a warning and when flex is needed during the make process the make
process will die with an error message.
http://cvs.php.net/viewcvs.cgi/php-src/acinclude.m4?r1=1.346&r2=1.347&diff_format=u
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.346 php-src/acinclude.m4:1.347
--- php-src/acinclude.m4:1.346 Thu May 11 22:05:16 2006
+++ php-src/acinclude.m4 Fri Jun 16 08:00:23 2006
@@ -1,5 +1,5 @@
dnl
-dnl $Id: acinclude.m4,v 1.346 2006/05/11 22:05:16 iliaa Exp $
+dnl $Id: acinclude.m4,v 1.347 2006/06/16 08:00:23 sesser Exp $
dnl
dnl This file contains local autoconf functions.
dnl
@@ -2048,7 +2048,8 @@
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])
+ AC_MSG_WARN([$flex_msg])
+ LEX="echo \"error: $flex_msg\" 1>&2 ; exit 1;"
;;
esac
PHP_SUBST(LEX)