[PATCH] Use PKG_CHECK_MODULES to detect the libxml2 library
Hugh McMaster <hugh.mcmaster@outlook.com>
From: Hugh McMaster <hugh.mcmaster@outlook.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-03-10T10:53:14Z
Lists: pgsql-hackers
Attachments
- 0001-pkg-check-modules-libxml2.patch (application/octet-stream) patch 0001
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
Commits
-
Use pkg-config, if available, to locate libxml2 during configure.
- d67d7243f914 10.13 landed
- 9af2f7dc9603 11.8 landed
- d8e7f8149400 12.3 landed
- 0bc8cebdb889 13.0 landed