Commit:    742a0106fefefe5ee1638271a1f59b69fb0ba015
Author:    Michael Wallner <m...@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


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to