From: Marcus Boerger Date: Tue, 7 Oct 2003 09:40:39 +0000 (+0000) Subject: Fix version test X-Git-Tag: RELEASE_1_3b3~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f57043e093d6386ea1b14e77d1900b0a2d42f364;p=php Fix version test --- diff --git a/configure.in b/configure.in index ddcf347132..39eacd2872 100644 --- a/configure.in +++ b/configure.in @@ -137,7 +137,7 @@ if test "$YACC" != "bison -y"; then else AC_MSG_CHECKING([bison version]) set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'|tr -d a-z` - if test "${1}" = "1" -a "${2}" != "28" -a "${2}" != "35" -a "${2}" != "75" -a "${2}" != "875"; then + if test "${1}" -ne "1" -o "(" "${2}" != "28" -a "${2}" != "35" -a "${2}" != "75" -a "${2}" != "875" ")"; then AC_MSG_WARN([You will need bison 1.28, 1.35, 1.75 or 1.875 if you want to regenerate the Zend parser (found ${1}.${2}).]) fi AC_MSG_RESULT(${1}.${2} (ok))