Check LIBXML_VERSION instead of testing in configure script.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Aug 2012 04:05:26 +0000 (00:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Aug 2012 04:05:26 +0000 (00:05 -0400)
commit470d0b9789981bc91a8ef2654911d80ab6a6be57
tree86802b7e189e61fe97f13aee1dc0c692c0d7a65e
parent305557984dd964ac397c6752e9d0f14646b60f15
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.
configure
configure.in
src/backend/utils/adt/xml.c
src/include/pg_config.h.in