diff options
author | Sascha Schumann <sas@php.net> | 2003-04-13 20:09:32 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2003-04-13 20:09:32 +0000 |
commit | 887dfeefecf0010c1ea9380789e5e5951f07e66c (patch) | |
tree | 91184026c7a17e2dc33d21c48f9b461e168d9e4c | |
parent | 268ffda27d5680008d5adf9e1319654d808c38d9 (diff) | |
download | php-git-887dfeefecf0010c1ea9380789e5e5951f07e66c.tar.gz |
cygwin ships with bison 1.875b, so we need to remove that b here
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 35dcecabb5..9ccb986b93 100644 --- a/configure.in +++ b/configure.in @@ -135,7 +135,7 @@ if test "$YACC" != "bison -y"; then AC_MSG_WARN([You will need bison if you want to regenerate the PHP parsers.]) else AC_MSG_CHECKING([bison version]) - set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'` + 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"; 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 |