Re: BUG #15306: Use pkg-config for searching libxml2 header

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dingxiangfei2009(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15306: Use pkg-config for searching libxml2 header
Date: 2018-07-31 18:33:34
Message-ID: 3694.1533062014@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?utf-8?q?PG_Bug_reporting_form?= <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2018-07-31 19:40:29 Re: Found incorrect output in pg_lsclusters
Previous Message Michael Paquier 2018-07-31 17:44:52 Re: BUG #15182: Canceling authentication due to timeout aka Denial of Service Attack