moriyoshi Sat Mar 29 10:54:19 2003 EDT
Modified files:
/php4 configure.in
Log:
Improved bison check; now configure accepts 1.28, 1.35, and 1.75 only.
Index: php4/configure.in
diff -u php4/configure.in:1.435 php4/configure.in:1.436
--- php4/configure.in:1.435 Fri Mar 28 23:52:46 2003
+++ php4/configure.in Sat Mar 29 10:54:19 2003
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.435 2003/03/29 04:52:46 sterling Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.436 2003/03/29 15:54:19 moriyoshi Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -136,8 +136,8 @@
else
AC_MSG_CHECKING([bison version])
set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'`
- if test "${1}" = "1" -a "${2}" -lt "28"; then
- AC_MSG_WARN(You will need bison 1.28 if you want to regenerate the Zend parser
(found ${1}.${2}).)
+ if test "${1}" = "1" -a "(" "${2}" -lt "75" -a "${2}" -ne "28" -a "${2}" -ne "35"
-o "${2}" -ge "875" ")"; then
+ AC_MSG_WARN(You will need bison 1.28, 1.35 or 1.75 if you want to regenerate
the Zend parser (found ${1}.${2}).)
fi
AC_MSG_RESULT(${1}.${2} (ok))
fi
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php