com php-src: use $YACC instead of 'bison' as suggested by Yasuo: Zend/acinclude.m4
| From: | Xinchen Hui | Date: | Sat, 19 Oct 2013 05:27:24 +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-73707@lists.php.net to get a copy of this message | ||
Commit: 1fe1f7305bdc8054dc0fb1f82e0fbd0e99309858
Author: Michael Wallner <mike@php.net> Fri, 9 Aug 2013 08:32:39 +0200
Committer: Xinchen Hui <laruence@php.net> Sat, 19 Oct 2013 13:27:24 +0800
Parents: 4c0bb6d76eb0c8b9fdc74c3c8858a146ab34e2f8
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1fe1f7305bdc8054dc0fb1f82e0fbd0e99309858
Log:
use $YACC instead of 'bison' as suggested by Yasuo
Conflicts:
Zend/acinclude.m4
Changed paths:
M Zend/acinclude.m4
Diff:
diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4
index 77430ab..95b5bf2 100644
--- a/Zend/acinclude.m4
+++ b/Zend/acinclude.m4
@@ -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