* configure.in: add a version (>= 2.6.0) check for libxml2
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 10 Aug 2006 21:22:33 +0000 (21:22 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 10 Aug 2006 21:22:33 +0000 (21:22 +0000)
ChangeLog
configure.in

index f33eb93..e41b8c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-08-10  John (J5) Palmieri  <johnp@redhat.com>
 
+       * configure.in: add a version (>= 2.6.0) check for libxml2
+
+2006-08-10  John (J5) Palmieri  <johnp@redhat.com>
+
        * configure.in: make sure the compiler supports -Wfloat-equal
        
        * bus/dir-watch-dnotify.c: move functional code after 
index 48382b5..2465d82 100644 (file)
@@ -619,7 +619,7 @@ AC_CHECK_LIB(expat, XML_ParserCreate_MM,
              [ AC_CHECK_HEADERS(expat.h, have_expat=true, have_expat=false) ],
              have_expat=false)
 
-PKG_CHECK_MODULES(LIBXML, libxml-2.0, have_libxml=true, have_libxml=false)
+PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.6.0, have_libxml=true, have_libxml=false)
 
 # see what we want to use
 dbus_use_libxml=false
@@ -632,7 +632,7 @@ if test x$with_xml = xexpat; then
 elif test x$with_xml = xlibxml; then
         dbus_use_libxml=true
         if ! $have_libxml ; then
-           AC_MSG_ERROR([Explicitly requested libxml but libxml not found])
+           AC_MSG_ERROR([Explicitly requested libxml but libxml >= 2.6.0 not found])
         fi
 else
         ### expat is the default because libxml can't currently survive