summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2017-02-04 17:57:47 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2017-02-04 17:57:47 +0000
commit7934be2602145f8112e46bf45d510fa6f7eeef01 (patch)
tree857ab600da0db3486dbf9e2dc99503ae6b341890
parent0cb90439460f3dccb76138df4bc3cd3f9ac38d61 (diff)
downloadneon-7934be2602145f8112e46bf45d510fa6f7eeef01.tar.gz
* macros/neon-xml-parser.m4 (NE_XML_LIBXML2):
Locate the $CHOST prefixed version of xml2-config by default, patch from Mike Frysinger. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1991 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r--macros/neon-xml-parser.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/neon-xml-parser.m4 b/macros/neon-xml-parser.m4
index dbcb899..75f5838 100644
--- 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])