1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00

autotools: use public API to check libstrophe

parser_new is not exported by libstrophe anymore.
This commit is contained in:
Dmitry Podgorny 2014-09-07 14:39:08 +03:00
parent 1fd7de8f5e
commit 790f9173af

View File

@ -82,7 +82,7 @@ LIBS="$LIBS $openssl_LIBS"
# TODO: autodetect of XML parser libstrophe linked with
CFLAGS_RESTORE="$CFLAGS"
CFLAGS="$CFLAGS $AM_CPPFLAGS"
AC_CHECK_LIB([strophe], [parser_new], [],
AC_CHECK_LIB([strophe], [xmpp_ctx_new], [],
[AC_MSG_ERROR([libstrophe linked with $PARSER is required for profanity])])
CFLAGS="$CFLAGS_RESTORE"