Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68131 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81087 invoked from network); 17 Jul 2013 02:01:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2013 02:01:06 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.50 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:60482] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3C/1D-20914-0EAF5E15 for ; Tue, 16 Jul 2013 22:01:05 -0400 Received: by mail-la0-f50.google.com with SMTP id ep20so1071892lab.37 for ; Tue, 16 Jul 2013 19:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=wMoU/5tsCAkyacz6bU6FDYErE071XMTqN9vUnSrEiyA=; b=XHAqX2Fft66kPHMpmwYmBa9IqfOn2tl0DuBiF5W6j2UlQ+goiZAPXQFSSQNO+2W2nc 8Vc4+4GNIj7dQebLAhHw2vRRk8C7sCh6gU8ZFyK16w02ntoEW/E44ApiKfHzhZDBix2j L86yFK2HlBP7Ylt0PIFLLqR9DZBhpYDf9nY7BojF//babhditn5Z1Nx8LbaqQoU+DAJV dLinTInxTUFplw7ycBhuT4TSoqwD5xUaAL71LB9XARu3MQSxk+7wwnyKRZ1yMcvLOig8 6toJ3hTJwStF30z6jPoLbeAvQOoCp94KqQuh/nUzABVB4aid/tTgrx86X+vTdm8prStV aSmw== X-Received: by 10.152.28.199 with SMTP id d7mr1899797lah.67.1374026461754; Tue, 16 Jul 2013 19:01:01 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.4.233 with HTTP; Tue, 16 Jul 2013 19:00:21 -0700 (PDT) Date: Wed, 17 Jul 2013 11:00:21 +0900 X-Google-Sender-Auth: aG4VA4NRsJr9ohtuH723Qk9RgIM Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e0160b4322a394904e1ab7799 Subject: Passing specific bison to build From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e0160b4322a394904e1ab7799 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I've upgraded to Fedora 19 and bison is too new for PHP 5.4/5.3 I would like to users to select specific bison to build with. --- 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 Any comments? -- Yasuo Ohgaki yohgaki@ohgaki.net --089e0160b4322a394904e1ab7799--