Re: Passing specific bison to build
| From: | Yasuo Ohgaki | Date: | Thu, 18 Jul 2013 05:29:20 +0000 |
| Subject: | Re: Passing specific bison to build | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68143@lists.php.net to get a copy of this message | ||
Hi Johannes,
2013/7/17 Yasuo Ohgaki <yohgaki@ohgaki.net>
> --- 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 |
> + bison_version_vars=`$YACC --version 2> /dev/null | grep 'GNU Bison'
> | cut -d ' ' -f 4 |
> php_cv_bison_version=invalid
> if test -n "$bison_version_vars"; then
> set $bison_version_vars
>
> To build with specific bison, you may do
>
> YACC=/usr/local/bin/bison1 ./configure
>
Would you commit this patch from PHP 5.3?
It may be easier for us to maintain PHP 5.3 with this.
Thank you.
--
Yasuo Ohgaki
yohgaki@ohgaki.net