pidgin: c3af1ade: Print a warning if compiling against lib...

qulogic at pidgin.im qulogic at pidgin.im
Fri Apr 10 03:36:09 EDT 2009


-----------------------------------------------------------------
Revision: c3af1ade9bc680a82637395d7ab77b6a9d4ad20d
Ancestor: c4a9f171d2b79dc2380555bf901bebb19c19ccd6
Author: qulogic at pidgin.im
Date: 2009-04-10T07:16:20
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c3af1ade9bc680a82637395d7ab77b6a9d4ad20d

Modified files:
        configure.ac

ChangeLog: 

Print a warning if compiling against libxml2 < 2.6.18 as it may cause XMPP
messages to be discarded (if not patched).

Fixes #5900.

-------------- next part --------------
============================================================
--- configure.ac	a18b8e96007b1bdefe772e247681a6438b1a0645
+++ configure.ac	2589d24fa0ef0464009a540ca821748ec34f4f53
@@ -706,9 +706,13 @@ PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >=
 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)
 


More information about the Commits mailing list