Re: find libxml2 using pkg-config
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org
Date: 2013-01-14T15:25:16Z
Lists: pgsql-hackers
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. regards, tom lane