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

From Peter Eisentraut
Subject Re: [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library
Date
Msg-id 93cae9cb-69c2-1e7f-b43b-fc228838d51c@2ndquadrant.com
Whole thread Raw
In response to Re: [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
On 2020-03-10 12:41, Daniel Gustafsson wrote:
>> 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?

Btw., here is an older thread for the same issue 
<https://www.postgresql.org/message-id/flat/1358164265.29612.7.camel%40vanquo.pezone.net>. 
  Might be worth reflecting on the issues discussed there.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [PATCH] Connection time for \conninfo
Next
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] Connection time for \conninfo