never auto-select libxml
authorJohn (J5) Palmieri <johnp@redhat.com>
Tue, 15 Jan 2008 20:16:23 +0000 (15:16 -0500)
committerJohn (J5) Palmieri <johnp@redhat.com>
Tue, 15 Jan 2008 20:16:23 +0000 (15:16 -0500)
2008-01-15  John (J5) Palmieri  <johnp@redhat.com>

* portions of patch submitted by Tim Mooney
<enchanter at users dot sourceforge dot net>

* configure.in: never auto-select libxml (FDO Bug #12479)

ChangeLog
configure.in

index 72e5033..fe796eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2008-01-15  John (J5) Palmieri  <johnp@redhat.com>
 
+       * portions of patch submitted by Tim Mooney 
+       <enchanter at users dot sourceforge dot net>
+
+       * configure.in: never auto-select libxml (FDO Bug #12479)
+
+2008-01-15  John (J5) Palmieri  <johnp@redhat.com>
+
        * patches by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>
 
        * dbus/dbus-sysdeps-unix (_dbus_get_autolaunch_address): handle OOM
index 78a8614..8436d27 100644 (file)
@@ -805,8 +805,6 @@ 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 >= 2.6.0, have_libxml=true, have_libxml=false)
-
 # see what we want to use
 dbus_use_libxml=false
 dbus_use_expat=false
@@ -817,6 +815,8 @@ if test x$with_xml = xexpat; then
         fi
 elif test x$with_xml = xlibxml; then
         dbus_use_libxml=true
+        PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.6.0, have_libxml=true, have_libxml=false)
+
         if ! $have_libxml ; then
            AC_MSG_ERROR([Explicitly requested libxml but libxml not found])
         fi