Fri, 10 Apr 2009 07:16:20 +0000
Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP
messages to be discarded (if not patched).
Fixes #5900.
| configure.ac | file | annotate | diff | comparison | revisions |
--- 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)