mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
autotools: use public API to check libstrophe
parser_new is not exported by libstrophe anymore.
This commit is contained in:
parent
1fd7de8f5e
commit
790f9173af
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user