moriyoshi Sat Mar 29 10:56:25 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4 configure.in
Log:
MFH(r-1.436): improved bison check; now configure accepts 1.28, 1.35 and 1.75
only.
Index: php4/configure.in
diff -u php4/configure.in:1.396.2.42 php4/configure.in:1.396.2.43
--- php4/configure.in:1.396.2.42 Tue Mar 25 08:43:56 2003
+++ php4/configure.in Sat Mar 29 10:56:25 2003
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.396.2.42 2003/03/25 13:43:56 sniper Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.396.2.43 2003/03/29 15:56:25 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