Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group