# HG changeset patch # User Paul Aurich # Date 1271693203 0 # Node ID 2ed0041a7b0f1f2d598ad39464a464a2c3b3d4ca # Parent 306c68ade25ae2d41b699b226507784d4c18502f configure.ac: Check for gnutls_priority_set. Apparently I forgot to commit this in 3b944aafdeba diff -r 306c68ade25a -r 2ed0041a7b0f configure.ac --- 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_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)],