Re: configure.in / xml / quoting trouble - Mailing list pgsql-patches

From Patrick Welche
Subject Re: configure.in / xml / quoting trouble
Date
Msg-id 20070628192256.GT19698@quartz.itdept.newn.cam.ac.uk
Whole thread Raw
In response to Re: configure.in / xml / quoting trouble  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: configure.in / xml / quoting trouble  (Andrew Dunstan <andrew@dunslane.net>)
Re: configure.in / xml / quoting trouble  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Thu, Jun 28, 2007 at 02:39:37PM -0400, Andrew Dunstan wrote:
> Patrick Welche wrote:
> >The first part I needed when configuring --with-libxml. Why go to the
> >effort of finding xml2-config, and then disbelieve what it tells you?
>
> Which in particular are we disbelieving?

The one that broke things for me in NetBSD is the rpath flag that got
ignored.

The thing is, if xml2-config is meant to give the flags necessary to
compile a programme with libxml, then why pick-and-choose which flags
you are going to use?

I suppose I see two extremes, either you look for foo-config and
use its flags, or you leave it up to the user to fill in
CFLAGS/LDFLAGS/CPPFLAGS appropriately (maybe with the aid of
--with-libxml=[directory]) (and ac_check_lib). I was caught out as
the current configure.in seems to be a bit of both.

Cheers,

Patrick

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: configure.in / xml / quoting trouble
Next
From: Andrew Dunstan
Date:
Subject: Re: configure.in / xml / quoting trouble