# HG changeset patch # User Elliott Sales de Andrade # Date 1239347780 0 # Node ID 344061a9f85d18bec28b67c13938fb5b61e9d6aa # Parent b162300ab1e71547f83dc079adadd2985d89312c Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP messages to be discarded (if not patched). Fixes #5900. diff -r b162300ab1e7 -r 344061a9f85d configure.ac --- 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)