+@@ -574,16 +581,7 @@
+
+ AH_TEMPLATE([HAVE_LIBXML],
+ [Define this value if libxml is available.])
+-dnl About the condition of version
+-dnl see https://mail.gnome.org/archives/xml/2010-February/msg00008.html
+-AS_IF([test "x$enable_xml" != "xno"], [
+- PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.7.7],
+- [have_libxml=yes
+- AC_DEFINE(HAVE_LIBXML)],
+- [AS_IF([test "x$enable_xml" = "xyes"], [
+- AC_MSG_ERROR([libxml2 not found])])])
+-])