Add check for libxml2.

This commit is contained in:
Ralf Corsépius 2007-08-15 09:03:35 +02:00
parent 4c73047556
commit 13625ddb7f
1 changed files with 8 additions and 0 deletions

View File

@ -315,6 +315,14 @@ AC_CHECK_LIB(bz2, bzread, [LIBS="$LIBS -lbz2"],
WITH_BZIP2=0)) WITH_BZIP2=0))
AC_SUBST(WITH_BZIP2) AC_SUBST(WITH_BZIP2)
#=================
# Check for libxml2.
PKG_CHECK_MODULES(XML2,libxml-2.0,
[WITH_LIBXML2=yes],
[WITH_LIBXML2=no])
AM_CONDITIONAL(LIBXML2,[test "$WITH_LIBXML2" = yes])
#================= #=================
localdone= localdone=