From 13625ddb7f9e190e30fce0bdb490ee55689783fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Wed, 15 Aug 2007 09:03:35 +0200 Subject: Add check for libxml2. --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index 5ddb98068..33d04c667 100644 --- a/configure.ac +++ b/configure.ac @@ -315,6 +315,14 @@ AC_CHECK_LIB(bz2, bzread, [LIBS="$LIBS -lbz2"], WITH_BZIP2=0)) 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= -- cgit v1.2.3