jani            Wed Jul 16 16:22:32 2008 UTC

  Modified files:              
    /php-src    configure.in 
  Log:
  - Prevent errors in CVS builds when bison is not there (for Sean :)
  
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.658&r2=1.659&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.658 php-src/configure.in:1.659
--- php-src/configure.in:1.658  Tue Jul  8 07:05:03 2008
+++ php-src/configure.in        Wed Jul 16 16:22:32 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.658 2008/07/08 07:05:03 dmitry Exp $ -*- autoconf -*-
+## $Id: configure.in,v 1.659 2008/07/16 16:22:32 jani Exp $ -*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -166,6 +166,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

Reply via email to