Re: find libxml2 using pkg-config

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: find libxml2 using pkg-config
Date: 2013-01-14 15:25:16
Message-ID: 21325.1358177116@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2013-01-14 15:29:53 Re: pg_ctl idempotent option
Previous Message Tom Lane 2013-01-14 15:22:48 Re: pg_ctl idempotent option