Unclarity of configure options

From: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Unclarity of configure options
Date: 2007-09-28 14:05:07
Message-ID: e431ff4c0709280705k27b1f180x5f0a5d946349125@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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").

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?

--
Best regards,
Nikolay

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-28 14:25:32 Re: [FEATURE REQUEST] Streaming Onlinebackup (MaybeOFFTOPIC)
Previous Message Zeugswetter Andreas ADI SD 2007-09-28 13:44:36 Re: [FEATURE REQUEST] Streaming Onlinebackup (MaybeOFFTOPIC)

Browse pgsql-patches by date

  From Date Subject
Next Message Dave Page 2007-09-28 14:27:44 OpenSSL Applink
Previous Message Heikki Linnakangas 2007-09-28 09:02:42 Re: too many variants of relation_open