Re: [DIFF] phpize won't work on extensions without config.m4
| From: | Antony Dovgal | Date: | Mon, 21 Jan 2008 11:16:02 +0000 |
| Subject: | Re: [DIFF] phpize won't work on extensions without config.m4 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34838@lists.php.net to get a copy of this message | ||
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