Define this if we have libxml.

2000-01-12  Martin Baulig  <martin@home-of-linux.org>

	* acconfig.h (HAVE_LIBXML): Define this if we have libxml.
This commit is contained in:
Martin Baulig
2000-01-12 16:18:42 +00:00
committed by Martin Baulig
parent bb15be7198
commit 27bf526b85
3 changed files with 7 additions and 0 deletions

1
xml.m4
View File

@@ -20,6 +20,7 @@ AC_DEFUN([LIBGTOP_XML_HOOK],[
AC_CHECK_LIB(xml, xmlNewDoc, [
$1
LIBGTOP_XML_LIB=`$XML_CONFIG --libs`
AC_DEFINE(HAVE_LIBXML)
], [
if test x$2 = xfailure; then
AC_MSG_ERROR(Could not link sample xml program)