[PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library

From: Hugh McMaster <hugh(dot)mcmaster(at)outlook(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library
Date: 2020-03-10 10:53:14
Message-ID: CAN9BcdvfUwc9Yx5015bLH2TOiQ-M+t_NADBSPhMF7dZ=pLa_iw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear developers,

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.

The patch was created against the master branch of git.

I have built PostgreSQL and run `make check`. All 196 tests passed.

Hugh

Attachment Content-Type Size
0001-pkg-check-modules-libxml2.patch application/octet-stream 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2020-03-10 10:54:58 Re: Remove win32ver.rc from version_stamp.pl
Previous Message Amit Kapila 2020-03-10 10:41:34 Re: [HACKERS] Moving relation extension locks out of heavyweight lock manager