1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Add check for Bison. A recent version is required when in ZTS mode.

This commit is contained in:
Sascha Schumann
2000-05-23 20:32:27 +00:00
parent 7182e722ca
commit 773e306df2

View File

@@ -27,6 +27,15 @@
# $Id$
#
old_IFS="$IFS"
IFS=.
eval set `bison -V|sed "s/GNU Bison version //"`
if test "$1" = "1" && test "28" -gt "$2"; then
echo "Please use Bison 1.28 or higher"
exit 10
fi
IFS="$old_IFS"
PHPROOT=:pserver:cvsread@cvs.php.net:/repository
ZENDROOT=:pserver:cvsread@cvs.zend.com:/repository
PHPMOD=php4