From: Jani Taskinen Date: Wed, 16 Jul 2008 16:23:59 +0000 (+0000) Subject: MFH:- Prevent errors in CVS builds when bison is not there (for Sean :) X-Git-Tag: php-5.2.7RC1~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00fb7be3780af65e6441888a229c783d7de33189;p=php MFH:- Prevent errors in CVS builds when bison is not there (for Sean :) --- diff --git a/configure.in b/configure.in index f8fef85c77..6d38a0fcce 100644 --- a/configure.in +++ b/configure.in @@ -151,6 +151,15 @@ PHP_PROG_AWK 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 -------------------------------------------------------------------------