Don't use GNUTLS 3.0, at least until we determine the impact of their

license change.

svn path=/trunk/; revision=41728
This commit is contained in:
Gerald Combs 2012-03-21 22:52:03 +00:00
parent 1731fc958e
commit 604896658e
1 changed files with 2 additions and 1 deletions

View File

@ -178,13 +178,14 @@ AM_CONDITIONAL(HAVE_DOXYGEN, test x$HAVE_DOXYGEN = xyes)
AC_SYS_LARGEFILE
# GnuTLS
# Version 3.0 switched from LGPLv2.1+ to LGPLv3+.
tls_message="no"
AC_ARG_WITH([gnutls],
AC_HELP_STRING( [--with-gnutls=@<:@yes/no@:>@],
[use GnuTLS library @<:@default=yes@:>@]),
with_gnutls="$withval", with_gnutls="yes")
if test "x$with_gnutls" = "xyes"; then
PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.0],
PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.0 gnutls < 3],
[
echo "GnuTLS found, enabling SSL decryption"
AC_DEFINE(HAVE_LIBGNUTLS, 1, [Define to use GnuTLS library])