--- embedaddon/php/Zend/acinclude.m4 2013/10/14 08:02:46 1.1.1.4 +++ embedaddon/php/Zend/acinclude.m4 2014/06/15 20:04:03 1.1.1.5 @@ -1,4 +1,4 @@ -dnl $Id: acinclude.m4,v 1.1.1.4 2013/10/14 08:02:46 misho Exp $ +dnl $Id: acinclude.m4,v 1.1.1.5 2014/06/15 20:04:03 misho Exp $ dnl dnl This file contains local autoconf functions. @@ -12,7 +12,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/\./ /' | 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