Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> On Fri, Dec 22, 2006 at 03:03:49PM +0100, Peter Eisentraut wrote:
>> The reason why I did not do this was that this could resolve
>> to -I/usr/include or -I/usr/local/include, but adding such a standard
>> path explicitly is wrong on some systems.
> But if people on such a system want to use libxml2, and they install it
> in /usr/include then they're screwed anyway. There's no way to tell the
> compiler to use only some files in a directory.
That's not the point, the point is that an *explicit* -I can be wrong
(because it can change the search order of the default directories).
Perhaps it'd be worth trying to add xml2-config's output only if the
first probe for the headers fails?
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Gregory Stark||Date: 2006-12-22 15:48:23|
|Subject: Re: Operator class group proposal|
|Previous:||From: Martijn van Oosterhout||Date: 2006-12-22 14:12:49|
|Subject: Re: configure problem --with-libxml|