blob: 1290101844ca901b62800224059d98547072ce0e [file] [log] [blame]
locate the $CHOST prefixed version of xml2-config by default
would be better to use pkg-config here, but this patch is minimally invasive
--- a/macros/neon-xml-parser.m4
+++ b/macros/neon-xml-parser.m4
@@ -44,7 +44,7 @@ AC_CHECK_HEADER(expat.h,
dnl Find libxml2: run $1 if found, else $2
AC_DEFUN([NE_XML_LIBXML2], [
-AC_CHECK_PROG(XML2_CONFIG, xml2-config, xml2-config)
+AC_CHECK_TOOL(XML2_CONFIG, xml2-config, xml2-config)
if test -n "$XML2_CONFIG"; then
neon_xml_parser_message="libxml `$XML2_CONFIG --version`"
AC_DEFINE(HAVE_LIBXML, 1, [Define if you have libxml])