summaryrefslogtreecommitdiff
path: root/build/buildcheck.sh
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-10-30 11:42:22 +0000
committerSascha Schumann <sas@php.net>2002-10-30 11:42:22 +0000
commit26215e8937233cb382fa2f5f47f64570f7c6f2dc (patch)
tree99d275958d28a3035d2af287674ca60e16c9c341 /build/buildcheck.sh
parentb968f905806ea25ed4928ca694467b938355f647 (diff)
downloadphp-git-26215e8937233cb382fa2f5f47f64570f7c6f2dc.tar.gz
Remove overzealous bison check
1. bison is not invoked during buildconf, so why the heck was the check embedded here. 2. bison 1.35 works fine for ze1. if there is a problem with ze2, the check should be limited to that ze version. don't inconvenience people who are using a perfectly fine combination.
Diffstat (limited to 'build/buildcheck.sh')
-rwxr-xr-xbuild/buildcheck.sh21
1 files changed, 1 insertions, 20 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh
index 0fe90b01c3..88d361c7ec 100755
--- a/build/buildcheck.sh
+++ b/build/buildcheck.sh
@@ -16,7 +16,7 @@
# | Sascha Schumann <sascha@schumann.cx> |
# +----------------------------------------------------------------------+
#
-# $Id: buildcheck.sh,v 1.20 2002-10-27 19:47:34 sniper Exp $
+# $Id: buildcheck.sh,v 1.21 2002-10-30 11:42:22 sas Exp $
#
echo "buildconf: checking installation..."
@@ -70,25 +70,6 @@ else
echo "buildconf: automake version $am_version (ok)"
fi
-# Bison <= 1.30 or >= 1.75 required (1.35, 1.50 have some bugs)
-bison_version=`bison --version| grep 'GNU Bison' | cut -d ' ' -f 4`
-bison_version_clean=`echo $bison_version|sed -e 's/-p[0-9]*$//'`
-if test "$bison_version" = ""; then
-echo "buildconf: bison not found."
-echo " You need bison version <= 1.30 >= 1.75 installed"
-echo " to build PHP from CVS."
-exit 1
-fi
-IFS=.; set $bison_version_clean; IFS=' '
-if test "$1" = "1" -a "$2" -le "30" || test "$1" = "1" -a "$2" -ge "75"; then
-echo "buildconf: bison version $bison_version (ok)"
-else
-echo "buildconf: bison version $bison_version found."
-echo " You need bison version <= 1.30 >= 1.75 installed"
-echo " to build PHP from CVS."
-exit 1
-fi
-
# libtool 1.4 or newer
# Prefer glibtool over libtool for Mac OS X compatibility
libtool=`which glibtool 2> /dev/null`