about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-02-17 20:44:47 +0100
committerMichael Vetter <jubalh@iodoru.org>2022-02-18 14:01:28 +0100
commit1856c1e7fcb40aaa8a8ee19dbcac7818941c4b11 (patch)
tree87f3ab3d370f8b365eba51c399ad1f0057cf7dee
parent7a6a37e71764b7e166692163a6f17c3da9489159 (diff)
downloadprofani-tty-1856c1e7fcb40aaa8a8ee19dbcac7818941c4b11.tar.gz
build: remove xmpp_lib variable
Since cad934b9a069bb2c3c417d4efc64dc25fb9814b7 we only support
libstrophe. libmesode is deprecated.
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index b4b107dd..2246adbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,10 +149,9 @@ fi
 
 ## Check for libstrophe
 PKG_CHECK_MODULES([libstrophe], [libstrophe >= 0.11.0],
-    [LIBS="$libstrophe_LIBS $LIBS" CFLAGS="$CFLAGS $libstrophe_CFLAGS" XMPP_LIB="libstrophe" AC_DEFINE([HAVE_LIBSTROPHE], [1], [libstrophe])],
-    [XMPP_LIB=""])
+    [LIBS="$libstrophe_LIBS $LIBS" CFLAGS="$CFLAGS $libstrophe_CFLAGS"])
 
-AC_MSG_CHECKING([whether ${XMPP_LIB} works])
+AC_MSG_CHECKING([whether libstrophe works])
 AC_LINK_IFELSE([AC_LANG_SOURCE([[
     #include <strophe.h>
 
@@ -162,7 +161,7 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([[
     }
     ]])],
     [AC_MSG_RESULT([yes])],
-    [AC_MSG_ERROR([${XMPP_LIB} is broken, check config.log for details])])
+    [AC_MSG_ERROR([libstrophe is broken, check config.log for details])])
 
 ## Check for curses library
 PKG_CHECK_MODULES([ncursesw], [ncursesw],