Skip site navigation (1) Skip section navigation (2)

pgsql: Check LIBXML_VERSION instead of testing in configure script.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Check LIBXML_VERSION instead of testing in configure script.
Date: 2012-08-17 04:05:47
Message-ID: E1T2Doh-0002a3-4h@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/33f40976a716287ecddfb01f446797d8df215125

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

Next:From: Tom LaneDate: 2012-08-17 19:40:52
Subject: pgsql: Copy-editing for recent window-functions documentation rewrite.
Previous:From: Bruce MomjianDate: 2012-08-17 02:07:27
Subject: pgsql: Update 'int' protocol documentation mention to be "signed",per

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group