summaryrefslogtreecommitdiff
path: root/config-scripts
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-11-20 15:37:29 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-11-20 15:37:29 +0000
commit19ba687883bc6d92b20687f8ee7ac719b9e35976 (patch)
tree21f05270f8438f5d2ddad1611d3be8a01b03976b /config-scripts
parentc989e789ea41eb111902ae4982231b4a98e6e15b (diff)
downloadcups-19ba687883bc6d92b20687f8ee7ac719b9e35976.tar.gz
CUPS did not work with older versions of GNU TLS (STR #4527)
- Add check for gnutls_priority_set_direct, use older gnutls_priority_set API if not found. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12269 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'config-scripts')
-rw-r--r--config-scripts/cups-ssl.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config-scripts/cups-ssl.m4 b/config-scripts/cups-ssl.m4
index a2ce831c0..b27880bf5 100644
--- a/config-scripts/cups-ssl.m4
+++ b/config-scripts/cups-ssl.m4
@@ -82,6 +82,7 @@ if test x$enable_ssl != xno; then
SAVELIBS="$LIBS"
LIBS="$LIBS $SSLLIBS"
AC_CHECK_FUNC(gnutls_transport_set_pull_timeout_function, AC_DEFINE(HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION))
+ AC_CHECK_FUNC(gnutls_priority_set_direct, AC_DEFINE(HAVE_GNUTLS_PRIORITY_SET_DIRECT))
LIBS="$SAVELIBS"
fi
fi