com php-src: use $YACC instead of 'bison' as suggested by Yasuo: Zend/acinclude.m4
| From: | Stanislav Malyshev | Date: | Fri, 09 Aug 2013 06:32:39 +0000 |
| Subject: | com php-src: use $YACC instead of 'bison' as suggested by Yasuo: Zend/acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72904@lists.php.net to get a copy of this message | ||
Commit: 742a0106fefefe5ee1638271a1f59b69fb0ba015
Author: Michael Wallner <mike@php.net> Fri, 9 Aug 2013 08:32:39 +0200
Parents: 1e30987a5303be9a3658625fee1527e148600929
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=742a0106fefefe5ee1638271a1f59b69fb0ba015
Log:
use $YACC instead of 'bison' as suggested by Yasuo
Changed paths:
M Zend/acinclude.m4
Diff:
diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4
index db6aee2..fe3ab63 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