Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43305 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30729 invoked from network); 11 Mar 2009 14:57:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Mar 2009 14:57:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 63.208.196.178 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 63.208.196.178 mho-01-bos.mailhop.org Received: from [63.208.196.178] ([63.208.196.178:57419] helo=mho-01-bos.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/AF-56240-441D7B94 for ; Wed, 11 Mar 2009 09:57:09 -0500 Received: from a88-112-30-186.elisa-laajakaista.fi ([88.112.30.186] helo=localhost.localdomain) by mho-01-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LhPrl-000E7h-I4; Wed, 11 Mar 2009 14:57:05 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 88.112.30.186 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+u175UgLHXwyk97M3125bhBy0UeijoDiY= Message-ID: <49B7D132.2070201@sci.fi> Date: Wed, 11 Mar 2009 16:56:50 +0200 Reply-To: jani.taskinen@iki.fi User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Christopher Jones CC: PHP Developers Mailing List References: <49B6EC1E.1010309@oracle.com> In-Reply-To: <49B6EC1E.1010309@oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Changing build configuration acinclude.m4 From: jani.taskinen@sci.fi (Jani Taskinen) Christopher Jones wrote: > > Does anyone (where's Jani?) want to comment on updating (*) the > definition of PHP_SHLIB_SUFFIX_NAMES in acinclude.m4? I don't want to comment on stuff I don't use.. :) (I don't do HP-UX) > The PHP_SHLIB_SUFFIX_NAMES macro is very simplistic in setting the > SHLIB_SUFFIX_NAME shared lib file extension. In comparison, the > AC_LIBTOOL_SYS_DYNAMIC_LINKER macro in build/libtool.m4 is more > finegrained, in particular in differentiating between HP-UX Itanium > and HP-UX PA RISC. > > The base problem was reported for the OCI8 extension in > http://pecl.php.net/bugs/bug.php?id=15016 > > An untested patch for acinclude.m4 is: > > --- acinclude.m4.orig 2008-12-03 13:55:53.000000000 -0800 > +++ acinclude.m4 2009-03-10 13:57:10.000000000 -0700 > @@ -1975,8 +1975,16 @@ > SHLIB_DL_SUFFIX_NAME=$SHLIB_SUFFIX_NAME > case $host_alias in > *hpux*[)] > - SHLIB_SUFFIX_NAME=sl > - SHLIB_DL_SUFFIX_NAME=sl > + case $host_cpu in > + ia64*[)] > + SHLIB_SUFFIX_NAME=so > + SHLIB_DL_SUFFIX_NAME=so > + ;; > + *[)] > + SHLIB_SUFFIX_NAME=sl > + SHLIB_DL_SUFFIX_NAME=sl > + ;; > + esac > ;; > *darwin*[)] > SHLIB_SUFFIX_NAME=dylib > > Is $host_cpu appropriately set at this point of configuration? Try it? If it works, commit. > Is there a reason why PHP_SHLIB_SUFFIX_NAMES doesn't use > AC_LIBTOOL_SYS_DYNAMIC_LINKER? Because nobody knew that exists? :) --Jani