summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-15 09:03:35 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-15 09:03:35 +0200
commit13625ddb7f9e190e30fce0bdb490ee55689783fa (patch)
tree02c6cf4c0cdfd5486fa61edf13a9bbdb40ac06af
parent4c73047556803838f3ca3c5fbd3496f0c26d146f (diff)
downloadrpm-13625ddb7f9e190e30fce0bdb490ee55689783fa.tar.gz
rpm-13625ddb7f9e190e30fce0bdb490ee55689783fa.tar.bz2
rpm-13625ddb7f9e190e30fce0bdb490ee55689783fa.zip
Add check for libxml2.
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5ddb98068..33d04c667 100644
--- a/configure.ac
+++ b/configure.ac
@@ -316,6 +316,14 @@ AC_CHECK_LIB(bz2, bzread, [LIBS="$LIBS -lbz2"],
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=