Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34838 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59722 invoked by uid 1010); 21 Jan 2008 11:16:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59707 invoked from network); 21 Jan 2008 11:16:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2008 11:16:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:48687] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9B/64-23010-5FE74974 for ; Mon, 21 Jan 2008 06:16:06 -0500 Received: from [192.168.3.87] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTP id 70FF26401E6; Mon, 21 Jan 2008 14:16:02 +0300 (MSK) Message-ID: <47947EF2.7050307@daylessday.org> Date: Mon, 21 Jan 2008 14:16:02 +0300 User-Agent: Thunderbird 2.0.0.9 (X11/20071114) MIME-Version: 1.0 To: lucas@facebook.com CC: internals@lists.php.net, jani@php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [DIFF] phpize won't work on extensions without config.m4 From: tony@daylessday.org (Antony Dovgal) On 21.01.2008 14:06, Lucas Nealan wrote: > I found out the hard way that phpize won't build some extensions like > ext/openssl because they have no config.m4, only a config0.m4. I could not > find a reason why this shouldn't work and propose the patch below for phpize > to support config0.m4 as well as config9.m4. You can just create config.m4 file with the only line: sinclude(config9.m4) > With this patch the following standard extensions can now be build via > phpize which couldn't before: > > ext/libxml > ext/openssl > ext/pcre > ext/zlib These extensions generally should not be built dynamically. -- Wbr, Antony Dovgal