Re: [HACKERS] Unclarity of configure options

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: nikolay(at)samokhvalov(dot)com
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Unclarity of configure options
Date: 2007-11-04 18:11:00
Message-ID: 200711041811.lA4IB0L23861@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Nikolay Samokhvalov wrote:
> The current (CVS version) configure script has the following options
> (among many others):
>
> --enable-dtrace build with DTrace support
> --with-ossp-uuid build with OSSP UUID library for UUID generation
> --with-libxml build with XML support
> --with-libxslt build with XSLT support
>
> One could think that adding any of this option to ./configure before
> building Postgres from sources, he will have corresponding support
> after installation and initdb process. But what we have now is the
> huge difference between "--with-libxml" and "--with-libxslt": while
> the first one adds XML support to the core, the second one doesn't
> provide anything automatically, it allows only using contirb/xml2
> (what is unclear because the help message is the same as for
> --with-libxml -- "build with ... support").

I have modified the configure message to be:

--with-libxslt build /contrib/xml2 with XSLT support

Patch attached.

> Also, comparing --enable-dtrace and --with-libxml I cannot see any
> difference in its semantics: --enable-dtrace also depends on external
> library and configure process fails if the system doesn't have it. So
> why "--enable-" is used in the first case and "--with-" in the second
> one?

I think the reason for this is because XML is seen as something added to
the backend (new capability) while dtrace is embedded in the backend.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 3.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2007-11-04 18:14:25 Re: [HACKERS] Unclarity of configure options
Previous Message Greg Smith 2007-11-04 18:02:48 Re: Test lab

Browse pgsql-patches by date

  From Date Subject
Next Message Joshua D. Drake 2007-11-04 18:14:25 Re: [HACKERS] Unclarity of configure options
Previous Message Bruce Momjian 2007-11-03 22:01:16 Re: [PATCHES] Eliminate more detoast copies for packed varlenas