]> granicus.if.org Git - php/commitdiff
bison may be installed under a different executable name, e.g.
authorHartmut Holzgraefe <hholzgra@php.net>
Sun, 29 May 2005 18:50:03 +0000 (18:50 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Sun, 29 May 2005 18:50:03 +0000 (18:50 +0000)
  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

Zend/acinclude.m4

index aa78edc7c67ee5042dd917755b2862354bfa8029..d5bae3769c89506dfd32596c1204738686b2b4b5 100644 (file)
@@ -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}"