mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Fix version test
This commit is contained in:
parent
2c2af7c7ef
commit
f57043e093
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user