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

Re: find libxml2 using pkg-config

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: find libxml2 using pkg-config
Date: 2013-02-01 03:17:02
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mon, 2013-01-14 at 10:25 -0500, Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)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

Attachment: pg-pkg-config-xml.patch
Description: text/x-patch (2.8 KB)

In response to

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2013-02-01 03:34:49
Subject: Re: recursive view syntax
Previous:From: Josh BerkusDate: 2013-02-01 02:48:53
Subject: Re: Cascading replication: should we detect/prevent cycles?

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