jani            Wed Jul 16 16:24:00 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /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.98&r2=1.579.2.52.2.99&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.98 
php-src/configure.in:1.579.2.52.2.99
--- php-src/configure.in:1.579.2.52.2.98        Wed Apr 30 18:33:33 2008
+++ php-src/configure.in        Wed Jul 16 16:23:59 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.98 2008/04/30 18:33:33 iliaa Exp $ -*- 
autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.99 2008/07/16 16:23:59 jani Exp $ -*- 
autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -151,6 +151,15 @@
 PHP_PROG_BISON
 PHP_PROG_LEX
 
+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
+
 dnl Platform-specific compile settings.
 dnl -------------------------------------------------------------------------
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to