Mercurial > pidgin
comparison configure.ac @ 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 | 35a1cf247168 |
children | eec68edb463f |
comparison
equal
deleted
inserted
replaced
29756:306c68ade25a | 29757:2ed0041a7b0f |
---|---|
1795 | 1795 |
1796 AC_SUBST(GNUTLS_CFLAGS) | 1796 AC_SUBST(GNUTLS_CFLAGS) |
1797 AC_SUBST(GNUTLS_LIBS) | 1797 AC_SUBST(GNUTLS_LIBS) |
1798 | 1798 |
1799 if test "x$enable_gnutls" = "xyes"; then | 1799 if test "x$enable_gnutls" = "xyes"; then |
1800 AC_MSG_CHECKING(for gnutls_priority_set_direct) | 1800 AC_MSG_CHECKING(for gnutls_priority_set_direct and gnutls_priority_set) |
1801 LIBS_save="$LIBS" | 1801 LIBS_save="$LIBS" |
1802 LIBS="$LIBS $GNUTLS_LIBS" | 1802 LIBS="$LIBS $GNUTLS_LIBS" |
1803 CPPFLAGS_save="$CPPFLAGS" | 1803 CPPFLAGS_save="$CPPFLAGS" |
1804 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS" | 1804 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS" |
1805 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], | 1805 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], |
1806 [[gnutls_session s; gnutls_priority_set_direct(s, NULL, NULL);]])], | 1806 [[gnutls_session s; gnutls_priority_set_direct(s, NULL, NULL); gnutls_priority_set(s, NULL);]])], |
1807 [AC_DEFINE([HAVE_GNUTLS_PRIORITY_FUNCS], 1, | 1807 [AC_DEFINE([HAVE_GNUTLS_PRIORITY_FUNCS], 1, |
1808 [Define if your gnutls has gnutls_priority_set_direct and friends]) | 1808 [Define if your gnutls has gnutls_priority_set_direct and friends]) |
1809 AC_MSG_RESULT(yes)], | 1809 AC_MSG_RESULT(yes)], |
1810 [AC_MSG_RESULT(no)]) | 1810 [AC_MSG_RESULT(no)]) |
1811 CPPFLAGS="$CPPFLAGS_save" | 1811 CPPFLAGS="$CPPFLAGS_save" |