about summary refs log tree commit diff stats
path: root/configure.ac
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2014-09-07 14:39:08 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2014-09-07 14:39:08 +0300
commit790f9173afa274072dc852342b7eaeececa00b20 (patch)
tree3e12df7bbe45560b3274f7abce9084f2eed4677b /configure.ac
parent1fd7de8f5e0aba5648e9cee26d51b3c1ffbaf28c (diff)
downloadprofani-tty-790f9173afa274072dc852342b7eaeececa00b20.tar.gz
autotools: use public API to check libstrophe
parser_new is not exported by libstrophe anymore.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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"