summaryrefslogtreecommitdiff
path: root/Zend/acinclude.m4
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2005-05-29 18:50:03 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2005-05-29 18:50:03 +0000
commitfce59d9daec85a25dff0ba33bc90f4b6e4dfcdcb (patch)
tree3b81442e801a1a58151b254807854fd66e351202 /Zend/acinclude.m4
parentaf14bbe455980e13caaabe311a235157daf2354e (diff)
downloadphp-git-fce59d9daec85a25dff0ba33bc90f4b6e4dfcdcb.tar.gz
bison may be installed under a different executable name, e.g.
YACC="bison-1.75" configure ... removing the check for "bison -y" allows for this the check was redundant anyway as the following one filters for "GNU Bison" in the --version output
Diffstat (limited to 'Zend/acinclude.m4')
-rw-r--r--Zend/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4
index aa78edc7c6..d5bae3769c 100644
--- a/Zend/acinclude.m4
+++ b/Zend/acinclude.m4
@@ -6,7 +6,7 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[
# we only support certain bison versions
bison_version_list="1.28 1.35 1.75 2.0"
- if test "$YACC" = "bison -y"; then
+ if test "$YACC"; then
AC_CACHE_CHECK([for bison version], php_cv_bison_version, [
set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /'|tr -d a-z`
bison_version="${1}.${2}"