Re: find libxml2 using pkg-config
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2013-02-01T03:17:02Z
Lists: pgsql-hackers
Attachments
- pg-pkg-config-xml.patch (text/x-patch) patch
On Mon, 2013-01-14 at 10:25 -0500, Tom Lane wrote: > Peter Eisentraut <peter_e@gmx.net> writes: > > The attached patch looks for pkg-config first, and finds libxml2 using > > that if available. Otherwise it falls back to using xml2-config. > > What happens if pkg-config is installed but doesn't know anything about > xml2? I'd expect the code to fall back to the old method, but this > patch doesn't appear to have any sanity check whatsoever on pkg-config's > output. Updated patch to that effect