Check for libmesode, fall back to libstrophe

This commit is contained in:
James Booth
2015-09-21 21:40:04 +01:00
parent 14edbe1770
commit 2b88e2f1bf
17 changed files with 130 additions and 72 deletions

View File

@@ -32,12 +32,20 @@
*
*/
#include "config.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#ifdef HAVE_LIBMESODE
#include <mesode.h>
#endif
#ifdef HAVE_LIBSTROPHE
#include <strophe.h>
#endif
#include "common.h"
#include "log.h"
@@ -468,4 +476,4 @@ _send_bookmarks(void)
xmpp_send(conn, iq);
xmpp_stanza_release(iq);
}
}