Re: Bundling libxml2 default?
| From: | Moriyoshi Koizumi | Date: | Sun, 18 May 2003 15:24:21 +0000 |
| Subject: | Re: Bundling libxml2 default? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1678@lists.php.net to get a copy of this message | ||
Adam Dickmeiss <adam@indexdata.dk> wrote:
> > 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.
forgot to mention the meaning of options:
--with-libxml=auto => detecting the location of libxml automatically
--with-libxml=PFX => using the libxml installed in the specified prefix
--with-libxml=bundled => using the bundled libxml
--with-libxml => using the bundled libxml
default: disabled (in order to avoid confusion)
--with-expat=bundled => using the bundled expat
--with-expat=PFX => using the expat installed in the specified prefix
--with-expat => looking for libexpat in either /usr or /usr/local
default: enabled (--with-expat=bundled)
Moriyoshi