Re: [PHP4BETA] modular php build on unix
| From: | Stig Bakken | Date: | Thu, 02 Sep 1999 10:40:18 +0000 |
| Subject: | Re: [PHP4BETA] modular php build on unix | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3993@lists.php.net to get a copy of this message | ||
Gergely Madarasz wrote:
>
> On Wed, 1 Sep 1999, Rasmus Lerdorf wrote:
>
> > Very much work in progress. I am sure Stig would appreciate any help.
>
> I think I have xml as it should be, except for one little problem: libtool
> still builds a static library too, unless --disable-static was passed to
> configure itself. It would be nice if it was disabled anyway, since we use
> libtool only to build shared modules, and there is no use in static shared
> modules :)
Actually, we need to build PHP itself with libtool as well, in order to
make an ISAPI module for Zeus.
> So the current situation is:
> Only one version of the module is built - the builtin module if you want
> it builtin and the shared module if you want it shared. The object name of
> the builtin module remains libphpext_xml.o, but the object name of the
> shared module becomes xml.o (not libphpext_xml.so.0.0.0 as before).
> Additionally I removed the XML include path from the main INCLUDES line if
> xml is compiled as a shared module.
> I have the Makefile.am and the config.m4 patches here attached.
Right now I don't care what the files are called, we can rename them
during "make install" anyway.
The real problem is that the whole automake model fits our specific
problem badly, and we end up with a zillion hacks to work around that.
This is not very good, because it probably means we have to keep
upgrading these hacks as automake develops. Either we need to get the
features we need into automake, or we have to start rolling our own on
top of autoconf (which I would prefer not to).
- Stig