diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index efd98c53012..54b52a35f8c 100644 --- a/configure.ac +++ b/configure.ac @@ -963,8 +963,7 @@ AC_ARG_ENABLE([xml-output], [Disable the xml output])) BUILD_XML_OUTPUT="yes" if test "x$enable_xml_output" != "xno"; then - #check if libxml is present if so enable HAVE_LIB_XML - m4_ifdef([AM_PATH_XML2],[AM_PATH_XML2([2.6.19])], [no_xml=yes]) + PKG_CHECK_MODULES([XML], [libxml-2.0], [], [no_xml="yes"]) if test "x${no_xml}" = "x"; then AC_DEFINE([HAVE_LIB_XML], [1], [Define to 1 if using libxml2.]) else |