pgsql: Check LIBXML_VERSION instead of testing in configure script. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Check LIBXML_VERSION instead of testing in configure script.
Date
Msg-id E1T2Doh-0002a1-4k@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Check LIBXML_VERSION instead of testing in configure script.

We had put a test for libxml2's xmlStructuredErrorContext variable in
configure, but of course that doesn't work on Windows builds.  The next
best alternative seems to be to test the LIBXML_VERSION symbol provided
by xmlversion.h.

Per report from Talha Bin Rizwan, though this fixes it in a different way
than his proposed patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/470d0b9789981bc91a8ef2654911d80ab6a6be57

Modified Files
--------------
configure                   |   69 -------------------------------------------
configure.in                |   17 ----------
src/backend/utils/adt/xml.c |   12 +++++++-
src/include/pg_config.h.in  |    3 --
4 files changed, 11 insertions(+), 90 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Update 'int' protocol documentation mention to be "signed", per
Next
From: Tom Lane
Date:
Subject: pgsql: Check LIBXML_VERSION instead of testing in configure script.