about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-06-03 14:30:42 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-06-03 14:31:41 +0200
commit42eb9ba63df4f9df5019e865ecba3a074fc2060f (patch)
tree1707ef3854eb3a1fb3aa2b6c2b08d860a17906d6
parent75bb00368f4f8c0a3e5a7da8aa347f86f07fc53a (diff)
downloadprofani-tty-42eb9ba63df4f9df5019e865ecba3a074fc2060f.tar.gz
Include mesode.h in libmesode test case
Regards https://github.com/profanity-im/profanity/issues/1334
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index efdbcfce..f83097fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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;