Check for `xmlDocGetRootElement' to make sure we have a recent enough

2000-02-16  Martin Baulig  <martin@home-of-linux.org>

	* xml.m4: Check for `xmlDocGetRootElement' to make sure we
	have a recent enough libxml.
This commit is contained in:
Martin Baulig
2000-02-15 23:45:00 +00:00
committed by Martin Baulig
parent 6402efe196
commit 36c36b9afb
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2000-02-16 Martin Baulig <martin@home-of-linux.org>
* xml.m4: Check for `xmlDocGetRootElement' to make sure we
have a recent enough libxml.
2000-02-13 Martin Baulig <martin@home-of-linux.org>
* configure.in (AC_LIBTOOL_DLOPEN): Added.

2
xml.m4
View File

@@ -17,7 +17,7 @@ AC_DEFUN([LIBGTOP_XML_HOOK],[
AC_MSG_WARN(Could not find xml-config)
fi
else
AC_CHECK_LIB(xml, xmlNewDoc, [
AC_CHECK_LIB(xml, xmlDocGetRootElement, [
$1
LIBGTOP_XML_LIB=`$XML_CONFIG --libs`
AC_DEFINE(HAVE_LIBXML)