From: Michael Wallner Date: Fri, 9 Aug 2013 06:32:39 +0000 (+0200) Subject: use $YACC instead of 'bison' as suggested by Yasuo X-Git-Tag: php-5.6.0alpha1~312^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=742a0106fefefe5ee1638271a1f59b69fb0ba015;p=php use $YACC instead of 'bison' as suggested by Yasuo --- diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4 index db6aee2f4a..fe3ab63beb 100644 --- a/Zend/acinclude.m4 +++ b/Zend/acinclude.m4 @@ -17,7 +17,7 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[ bison_version=none if test "$YACC"; then AC_CACHE_CHECK([for bison version], php_cv_bison_version, [ - bison_version_vars=`bison --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /g' | tr -d a-z` + bison_version_vars=`$YACC --version 2> /dev/null | grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /g' | tr -d a-z` php_cv_bison_version=invalid if test -n "$bison_version_vars"; then set $bison_version_vars