Mercurial > pidgin
changeset 29757:2ed0041a7b0f
configure.ac: Check for gnutls_priority_set.
Apparently I forgot to commit this in 3b944aafdeba
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 19 Apr 2010 16:06:43 +0000 |
parents | 306c68ade25a |
children | 21285007d703 |
files | configure.ac |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Mon Apr 19 16:05:00 2010 +0000 +++ b/configure.ac Mon Apr 19 16:06:43 2010 +0000 @@ -1797,13 +1797,13 @@ AC_SUBST(GNUTLS_LIBS) if test "x$enable_gnutls" = "xyes"; then - AC_MSG_CHECKING(for gnutls_priority_set_direct) + AC_MSG_CHECKING(for gnutls_priority_set_direct and gnutls_priority_set) LIBS_save="$LIBS" LIBS="$LIBS $GNUTLS_LIBS" CPPFLAGS_save="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], - [[gnutls_session s; gnutls_priority_set_direct(s, NULL, NULL);]])], + [[gnutls_session s; gnutls_priority_set_direct(s, NULL, NULL); gnutls_priority_set(s, NULL);]])], [AC_DEFINE([HAVE_GNUTLS_PRIORITY_FUNCS], 1, [Define if your gnutls has gnutls_priority_set_direct and friends]) AC_MSG_RESULT(yes)],