Re: Bundling libxml2 default?

From: Date: Sun, 18 May 2003 15:02:43 +0000
Subject: Re: Bundling libxml2 default?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-1673@lists.php.net to get a copy of this message
On Sun, May 18, 2003 at 09:10:56AM +0900, Moriyoshi Koizumi wrote: > marcus.boerger@t-online.de (Marcus Börger) wrote: > > > At 22:58 17.05.2003, Zeev Suraski wrote: > > >At 23:15 17/05/2003, Adam Dickmeiss wrote: > > >>Now, let's assume for a moment that the PHP code maintainers > > >>are still willing to do it. At least the configure options > > >>for the components could be harmonized : > > >> > > >> --with-component > > >> Search for component in system directories. If that is > > >> not found, use the bundled version (if any). > > >> > > >> --with-component=bundled > > >> Use the bundled version. Suggested by Moriyoshi. > > >> > > >> --with-component=dir > > >> Use the installed component in prefix dir. > > >> > > >> --without-component > > >> Do not use component. > > > > > >I'm all for that solution. I don't want to dive into the thou shalt not > > >bundle discussion, I think bundling is a good idea for certain components, > > >and giving users the ability to override that is even better. > > > > > > So can we at least stick to this (what we do already) and add the good idea > > from moriyoshi? > > I made a patch to accomplish Adam's suggestion: > http://www.voltex.jp/patches/bundle-libxml.patch.diff I've applied your patch. Things didn't work quite as I expected. First of all, default is that Expat is enabled and bundled. libxml is off by default. This is due to ",no" and ",bundled" in PHP_ARG_BUNDLE in bundle/libxml/config.m4 and bunle/expat/config.m4 respectively. I thought we wanted libxml enabled and Expat disabled. So I then used --with-libxml --without-expat which I assumed would choose my already installed libxml. That still used the bundled version of libxml. -- Adam > > Moriyoshi > -- Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk Index Data T: +45 33410100 Mob.: 212 212 66

« previous php.internals (#1673) next »