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

Re: configure.in / xml / quoting trouble

From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: configure.in / xml / quoting trouble
Date: 2007-06-28 19:22:56
Message-ID: 20070628192256.GT19698@quartz.itdept.newn.cam.ac.uk (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-patches by date

Next:From: Andrew DunstanDate: 2007-06-28 19:41:57
Subject: Re: configure.in / xml / quoting trouble
Previous:From: Tom LaneDate: 2007-06-28 19:20:12
Subject: Re: configure.in / xml / quoting trouble

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