1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

build: remove xmpp_lib variable

Since cad934b9a0 we only support
libstrophe. libmesode is deprecated.
This commit is contained in:
Michael Vetter 2022-02-17 20:44:47 +01:00
parent 7a6a37e717
commit 1856c1e7fc

View File

@ -149,10 +149,9 @@ fi
## Check for libstrophe ## Check for libstrophe
PKG_CHECK_MODULES([libstrophe], [libstrophe >= 0.11.0], 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])], [LIBS="$libstrophe_LIBS $LIBS" CFLAGS="$CFLAGS $libstrophe_CFLAGS"])
[XMPP_LIB=""])
AC_MSG_CHECKING([whether ${XMPP_LIB} works]) AC_MSG_CHECKING([whether libstrophe works])
AC_LINK_IFELSE([AC_LANG_SOURCE([[ AC_LINK_IFELSE([AC_LANG_SOURCE([[
#include <strophe.h> #include <strophe.h>
@ -162,7 +161,7 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([[
} }
]])], ]])],
[AC_MSG_RESULT([yes])], [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 ## Check for curses library
PKG_CHECK_MODULES([ncursesw], [ncursesw], PKG_CHECK_MODULES([ncursesw], [ncursesw],