Re: zend bison check
| From: | Yasuo Ohgaki | Date: | Fri, 09 Aug 2013 00:48:50 +0000 |
| Subject: | Re: zend bison check | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68458@lists.php.net to get a copy of this message | ||
Hi,
I proposed that specify any bison as developer wants.
It seems it is not merged, yet.
Usage:
YACC=/usr/local/bin/mybison ./configure
diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4
index 454513f..1440a2a 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/\./
+ bison_version_vars=`$YACC --version 2> /dev/null | grep 'GNU Bison'
| cut -d ' ' -f 4 | $SED -e 's/\./
php_cv_bison_version=invalid
if test -n "$bison_version_vars"; then
set $bison_version_vars
--
Yasuo Ohgaki
yohgaki@ohgaki.net
On Fri, Aug 9, 2013 at 8:05 AM, Ángel González <keisial@gmail.com> wrote:
> On 08/08/13 20:56, Michael Wallner wrote:
>
>> As I have no Zend karma, is anybody kind enough to merge the bison
>> blacklist patch?
>>
>> https://github.com/php/php-**src/pull/402<https://github.com/php/php-src/pull/402>
>>
> Maybe it should be bison_version_exclude="none" so that the error message
> is nicer?
>
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>