changeset 26614:344061a9f85d

Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP messages to be discarded (if not patched). Fixes #5900.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 10 Apr 2009 07:16:20 +0000
parents b162300ab1e7
children b1b166fa99e2
files configure.ac
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Fri Apr 10 06:32:57 2009 +0000
+++ b/configure.ac	Fri Apr 10 07:16:20 2009 +0000
@@ -706,9 +706,13 @@
 PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [
 	AC_MSG_RESULT(no)
 	AC_MSG_ERROR([
-
 You must have libxml2 >= 2.6.0 development headers installed to build.
 ])])
+PKG_CHECK_EXISTS([libxml-2.0 >= 2.6.18], , [
+	AC_MSG_WARN([
+Versions of libxml2 < 2.6.18 may contain bugs that could cause XMPP messages to be discarded.
+])])
+
 AC_SUBST(LIBXML_CFLAGS)
 AC_SUBST(LIBXML_LIBS)