]> granicus.if.org Git - postgresql/commit
Check LIBXML_VERSION instead of testing in configure script.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Aug 2012 04:05:33 +0000 (00:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Aug 2012 04:05:33 +0000 (00:05 -0400)
commit33f40976a716287ecddfb01f446797d8df215125
treebd91603a51ad92145a9fac10341f9b10d9c8f8c0
parent26893906896d25b0119c57c90474c153bb8083c9
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