From 790f9173afa274072dc852342b7eaeececa00b20 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Sun, 7 Sep 2014 14:39:08 +0300 Subject: [PATCH] autotools: use public API to check libstrophe parser_new is not exported by libstrophe anymore. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index efd48ebf..fab773a4 100644 --- a/configure.ac +++ b/configure.ac @@ -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"