1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-09 21:30:42 +00:00

Include mesode.h in libmesode test case

Regards https://github.com/profanity-im/profanity/issues/1334
This commit is contained in:
Michael Vetter 2020-06-03 14:30:42 +02:00
parent 75bb00368f
commit 42eb9ba63d

View File

@ -137,7 +137,12 @@ PKG_CHECK_MODULES([libmesode], [libmesode >= 0.9.2],
AC_MSG_CHECKING([whether ${XMPP_LIB} works])
AC_LINK_IFELSE([AC_LANG_SOURCE([[
#ifdef HAVE_LIBMESODE
#include <mesode.h>
#else
#include <strophe.h>
#endif
int main() {
xmpp_initialize();
return 0;