Re: [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library
Date
Msg-id F66A47CB-1949-4F27-A780-570BD0FC32FB@yesql.se
Whole thread Raw
In response to [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library  (Hugh McMaster <hugh.mcmaster@outlook.com>)
Responses Re: [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Re: [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library  (Hugh McMaster <hugh.mcmaster@outlook.com>)
List pgsql-hackers
> On 10 Mar 2020, at 11:53, Hugh McMaster <hugh.mcmaster@outlook.com> wrote:

> Debian (and Ubuntu) are beginning to remove foo-config legacy scripts.
> Already, xml2-config has been flagged for removal, with packages being
> asked to switch to pkg-config.
>
> This patch uses pkg-config's PKG_CHECK_MODULES macro to detect libxml2
> or, if pkg-config is not available, falls back to xml2-confg.

This was previously discussed in 20200120204715.GA73984@msg.df7cb.de which
ended without a real conclusion on what could/should be done (except that
nothing *had* to be done).

What is the situation on non-Debian/Ubuntu systems (BSD's, macOS etc etc)?  Is
it worth adding pkg-config support if we still need a fallback to xml2-config?

cheers ./daniel


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Remove win32ver.rc from version_stamp.pl
Next
From: Dmitry Dolgov
Date:
Subject: Re: Index Skip Scan