cvs: php4 / makedist
[email protected] ("Sascha Schumann")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <cvssas959113948@cvsserver> |
sas Tue May 23 22:32:28 2000 EDT
Modified files:
/php4 makedist
Log:
Add check for Bison. A recent version is required when in ZTS mode.
Index: php4/makedist
diff -u php4/makedist:1.17 php4/makedist:1.18
--- php4/makedist:1.17 Sun May 7 02:18:06 2000
+++ php4/makedist Tue May 23 22:32:27 2000
@@ -24,8 +24,17 @@
#
# Written by Stig Bakken <[email protected]> 1997-05-28.
#
-# $Id: makedist,v 1.17 2000/05/07 00:18:06 sas Exp $
+# $Id: makedist,v 1.18 2000/05/23 20:32:27 sas Exp $
#
+
+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:[email protected]:/repository
ZENDROOT=:pserver:[email protected]:/repository