* configure.in: add a version (>= 2.6.0) check for libxml2

This commit is contained in:
John (J5) Palmieri 2006-08-10 21:22:33 +00:00
parent 5b7ad1a24c
commit 1226611195
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
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

View 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