Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68132 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10972 invoked from network); 17 Jul 2013 13:03:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2013 13:03:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.54 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.212.54 mail-vb0-f54.google.com Received: from [209.85.212.54] ([209.85.212.54:34904] helo=mail-vb0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1A/80-20914-82696E15 for ; Wed, 17 Jul 2013 09:03:36 -0400 Received: by mail-vb0-f54.google.com with SMTP id q12so1355335vbe.13 for ; Wed, 17 Jul 2013 06:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=q0z8nVxxYbZFxOntKt39zenyUq10YEfcI5/2TwJKG+0=; b=XfJaICCUUJEWEPwRIgdrwQ2G/g6ad30p6m7AeafTnd1uc4ADoLxueacFOgS+z5VkG/ PPOy04+imRR6S6POj98UJpmj5RyOXH0jrxRB27LBtjh/+qhijT2F8Yk27NfhMfxYWat/ hRfrdgc/sHsMMgW+wa0pOeRbttz70vjLEWvRufyzof5p7oza3EwWF17Tj4qzUlML+K6z 7XrUzQlQHDlcTFrVyu5DIkrixGSCT9SGOOvFqkwlOjvy/irJtcWZRv0ZKhaX7llEirmJ +aOAeiawDrYbI/9PoUtzJERs/1MRnrMUcmz8ZUG2tAYU3ARar0cyhpJw4LWRssblYmzi Y/FQ== X-Received: by 10.221.5.71 with SMTP id of7mr2082840vcb.39.1374066213666; Wed, 17 Jul 2013 06:03:33 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.220.230.5 with HTTP; Wed, 17 Jul 2013 06:02:52 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Jul 2013 15:02:52 +0200 X-Google-Sender-Auth: pJXaIRzcnCzxzX1i7IdhLWjsASc Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e0118499290460204e1b4b858 Subject: Re: [PHP-DEV] Passing specific bison to build From: jpauli@php.net (Julien Pauli) --089e0118499290460204e1b4b858 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jul 17, 2013 at 4:00 AM, Yasuo Ohgaki wrote: > 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? > +1. Would be very useful for RMing as well, as we have to test different bison versions and use one for RMing which may not be the system's one. Julien.Pauli --089e0118499290460204e1b4b858--