mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-09 08:28:02 +02:00
* configure.in: add a version (>= 2.6.0) check for libxml2
This commit is contained in:
parent
5b7ad1a24c
commit
1226611195
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue