mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 17:26:21 +00:00
autotools: use public API to check libstrophe
parser_new is not exported by libstrophe anymore.
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user