Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7201 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34871 invoked by uid 1010); 20 Jan 2004 16:46:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34847 invoked from network); 20 Jan 2004 16:46:36 -0000 Received: from unknown (HELO www4.inficad.net) (207.55.79.14) by pb1.pair.com with SMTP; 20 Jan 2004 16:46:36 -0000 Received: from matt ([206.160.157.2]) by www4.inficad.net (8.11.1/8.11.1) with ESMTP id i0KGimH33591 for ; Tue, 20 Jan 2004 09:44:48 -0700 (MST) X-Spam-Filter: check_local by digitalanswers.org To: Date: Tue, 20 Jan 2004 09:45:07 -0700 Message-ID: <01e401c3df74$c370dd20$cc6464c5@RMAGSBS.local> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01E5_01C3DF3A.17120520" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Configuring SPL as SHARED From: blake@smeadlink.com ("Blake Schwendiman") ------=_NextPart_000_01E5_01C3DF3A.17120520 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit The config.m4 file that is currently shipping (php5-200401192230) disallows configuring SPL as a shared module on non-Windows as shown immediately below. However, no such restriction is given for the Windows configure (config.w32) shown further on. Having built the shared version for Windows, it also appears to work just fine. Can someone enlighten me as to whether SPL can/should be built as a shared PHP module? Thanks, Blake Schwendiman ----- config.m4 ----- dnl $Id: config.m4,v 1.9 2004/01/19 11:07:19 chregu Exp $ dnl config.m4 for extension SPL PHP_ARG_ENABLE(spl, enable SPL suppport, [ --disable-spl Disable Standard PHP Library], yes) if test "$PHP_SPL" != "no"; then if test "$ext_shared" = "yes"; then AC_MSG_ERROR(Cannot build SPL as a shared module) fi AC_DEFINE(HAVE_SPL, 1, [Whether you want SPL (Standard PHP Library) support]) PHP_NEW_EXTENSION(spl, php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_sxe.c, $ext_shared) fi ----- config.w32 ----- // $Id: config.w32,v 1.3 2004/01/19 08:31:16 sebastian Exp $ // vim:ft=javascript ARG_ENABLE("spl", "SPL (Standard PHP Library) support", "no"); if (PHP_SPL != "no") { EXTENSION("spl", "php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_sxe.c"); AC_DEFINE('HAVE_SPL', 1); } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Blake Schwendiman PHP Development Books: http://www.lulu.com/intechrabooks ------=_NextPart_000_01E5_01C3DF3A.17120520--