Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43310 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77580 invoked from network); 11 Mar 2009 17:32:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Mar 2009 17:32:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 148.87.113.124 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 148.87.113.124 rcsinet12.oracle.com Received: from [148.87.113.124] ([148.87.113.124:53730] helo=rgminet12.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/A1-04371-5B5F7B94 for ; Wed, 11 Mar 2009 12:32:37 -0500 Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2BHWIbg029031 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Mar 2009 17:32:19 GMT Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2BHWa2j025359; Wed, 11 Mar 2009 17:32:38 GMT Received: from [130.35.70.24] (/130.35.70.24) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Mar 2009 17:32:20 +0000 Message-ID: <49B7F5A3.70201@oracle.com> Date: Wed, 11 Mar 2009 10:32:19 -0700 User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: PHP Developers Mailing List CC: jani.taskinen@iki.fi References: <49B6EC1E.1010309@oracle.com> <49B7D132.2070201@sci.fi> In-Reply-To: <49B7D132.2070201@sci.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsmt702.oracle.com [141.146.40.80] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.49B7F5A6.00B5:SCFSTAT928724,ss=1,fgs=0 Subject: Re: [PHP-DEV] Changing build configuration acinclude.m4 From: christopher.jones@oracle.com (Christopher Jones) Jani Taskinen wrote: > 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) Ditto >> 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. OK! We'll see if the bug filer responds. >> Is there a reason why PHP_SHLIB_SUFFIX_NAMES doesn't use >> AC_LIBTOOL_SYS_DYNAMIC_LINKER? > > Because nobody knew that exists? :) :) Chris -- Email: christopher.jones@oracle.com Tel: +1 650 506 8630 Twitter: http://twitter.com/ghrd Free PHP Book: http://tinyurl.com/UGPOM