jani Wed Jul 16 16:22:43 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src configure.in
Log:
MFH:- Prevent errors in CVS builds when bison is not there (for Sean :)
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.21&r2=1.579.2.52.2.77.2.22&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.21
php-src/configure.in:1.579.2.52.2.77.2.22
--- php-src/configure.in:1.579.2.52.2.77.2.21 Mon Jul 14 09:48:58 2008
+++ php-src/configure.in Wed Jul 16 16:22:43 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.21 2008/07/14 09:48:58 dmitry Exp $
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.22 2008/07/16 16:22:43 jani Exp $ -*-
autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -165,6 +165,15 @@
PHP_PROG_BISON
PHP_PROG_RE2C
+dnl Check if bison generated files exist when bison does not..
+case $php_cv_bison_version in
+ ""|invalid[)]
+ if ! test -f "$abs_srcdir/Zend/zend_language_parser.h" ||Â ! test -f
"$abs_srcdir/Zend/zend_language_parser.c" ; then
+ AC_MSG_ERROR([bison is required to build PHP/Zend when building a CVS
checkout!])
+ fi
+ ;;
+esac
+
PHP_ARG_ENABLE(re2c-cgoto, whether to enable computed goto gcc extension with
re2c,
[ --enable-re2c-cgoto Enable -g flag to re2c to use computed goto gcc
extension], no, no)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php