Re: BUG #15306: Use pkg-config for searching libxml2 header - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15306: Use pkg-config for searching libxml2 header
Date
Msg-id 3694.1533062014@sss.pgh.pa.us
Whole thread Raw
In response to BUG #15306: Use pkg-config for searching libxml2 header  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #15306: Use pkg-config for searching libxml2 header  (Böszörményi Zoltán <zboszor@pr.hu>)
List pgsql-bugs
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> This is an improvement suggestion. In the configure script,
> https://github.com/postgres/postgres/blob/master/configure.in#L896
> this part uses `xml2-config` program to find the `libxml2` headers.

Right ...

> It would be more appropriate to use pkg-config program to search `libxml2`
> headers.

Why?  Under what circumstances would xml2-config not be present
(assuming that libxml2 is) or give a less desirable answer than
pkg-config?  What would you have us do on platforms lacking pkg-config?

            regards, tom lane


pgsql-bugs by date:

Previous
From: Moshe Jacobson
Date:
Subject: Re: pg_restore: All GRANTs on table fail when any one role is missing
Next
From: Bruce Momjian
Date:
Subject: Re: Found incorrect output in pg_lsclusters