added check for version 1.8.1 or better of libxml

Original commit message from CVS:
added check for version 1.8.1 or better of libxml
This commit is contained in:
Erik Walthinsen 2001-03-11 22:45:32 +00:00
parent 1e20129686
commit 5034ebd995

View file

@ -178,6 +178,8 @@ AC_PATH_PROG(XML_CONFIG, xml-config, no)
if test x$XML_CONFIG = xno; then
AC_MSG_ERROR(Couldn't find xml-config)
fi
AC_CHECK_LIB(xml, xmlDocGetRootElement, ,
[ AC_MSG_ERROR(Need version 1.8.1 or better of libxml) ])
XML_LIBS=`xml-config --libs`
XML_CFLAGS=`xml-config --cflags`
AC_SUBST(XML_LIBS)