pidgin: 6156f943: configure.ac: Check for gnutls_priority_...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Mon Apr 19 12:10:59 EDT 2010


-----------------------------------------------------------------
Revision: 6156f94369d1203fd0b0c5f2cb275893ddc67c19
Ancestor: b226157ce4114ddbcb551baf27ab48f1b73bcf84
Author: darkrain42 at pidgin.im
Date: 2010-04-19T16:06:43
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6156f94369d1203fd0b0c5f2cb275893ddc67c19

Modified files:
        configure.ac

ChangeLog: 

configure.ac: Check for gnutls_priority_set.

Apparently I forgot to commit this in 3b944aafdeba

-------------- next part --------------
============================================================
--- configure.ac	6d3d072a324d229cd8692310a8d44fc9009bddec
+++ configure.ac	8a6fa2a4ba4f49534059a32a074f12f26f825fc4
@@ -1797,13 +1797,13 @@ if test "x$enable_gnutls" = "xyes"; then
 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)],


More information about the Commits mailing list