Re: --enable-xml instead of --with-libxml? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: --enable-xml instead of --with-libxml?
Date
Msg-id 20070221135930.GM25424@alvh.no-ip.org
Whole thread Raw
In response to --enable-xml instead of --with-libxml?  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
Responses Re: --enable-xml instead of --with-libxml?  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
List pgsql-hackers
Nikolay Samokhvalov wrote:
> Now we have --with-libxml (and USE_LIBXML constant for #ifdef-s), what
> is not absolutely right: XML support is smth that is more general than
> "using libxml2 library". E.g., some SQL/XML publishing functions (such
> as XMLPI) do not deal with libxml2.
> 
> Also, in the future more "non-libxml" functionality could be added to
> "XML support" (well, Peter's recent SQL-to-XML mapping functions prove
> it).
> 
> I think it'd better to rename configure option to --enable-xml and
> USE_LIBXML to ENABLE_XML. I'll do it if there are no objections.

I think it would be better that leaving --with-libxml out (i.e.
compiling without libxml2 support) would only disable those parts in XML
functionality that require libxml2 for their implementation; the rest of
the stuff should be compiled in regardless of the setting.

Is this not what is done currently?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: New feature request: FlashBack Query
Next
From: Bruce Momjian
Date:
Subject: Re: tsearch in core patch, for inclusion