added check for version 1.8.1 or better of libxml
authorErik Walthinsen <omega@temple-baptist.org>
Sun, 11 Mar 2001 22:45:32 +0000 (22:45 +0000)
committerErik Walthinsen <omega@temple-baptist.org>
Sun, 11 Mar 2001 22:45:32 +0000 (22:45 +0000)
Original commit message from CVS:
added check for version 1.8.1 or better of libxml

configure.in

index 27499c7..cf5e0b8 100644 (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)