From: Rasmus Lerdorf Date: Tue, 7 Oct 2003 22:39:54 +0000 (+0000) Subject: MFB bison configure test fix X-Git-Tag: RELEASE_1_3b3~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a88c2d62c41269779deeb96fcd0fe6dc4eef5ef;p=php MFB bison configure test fix --- diff --git a/Zend/Zend.m4 b/Zend/Zend.m4 index 4445dd0e0e..83c764a058 100644 --- a/Zend/Zend.m4 +++ b/Zend/Zend.m4 @@ -10,7 +10,7 @@ if test "$YACC" != "bison -y"; then AC_MSG_WARN(You will need bison if you want to regenerate the Zend parser.) 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}" -lt "28"; then AC_MSG_WARN(You will need bison 1.28 if you want to regenerate the Zend parser (found ${1}.${2}).) fi