Looks like the licensing change only applies to GnuTLS 3.1.10.

svn path=/trunk/; revision=48759
This commit is contained in:
Gerald Combs 2013-04-06 15:45:28 +00:00
parent 3217be744a
commit 1cb1c73756
1 changed files with 1 additions and 7 deletions

View File

@ -192,7 +192,7 @@ AC_SYS_LARGEFILE
# GnuTLS
# Version 3.0 switched from LGPLv2.1+ to LGPLv3+, then switched back to
# LGPLv2.1+ in versions 3.0.29 and 3.1.10
# LGPLv2.1+ in version 3.1.10
tls_message="no"
AC_ARG_WITH([gnutls],
AC_HELP_STRING( [--with-gnutls=@<:@yes/no@:>@],
@ -204,12 +204,6 @@ if test "x$with_gnutls" = "xyes"; then
[ have_license_compatible_gnutls="yes" ], [ echo "GnuTLS >= 3.1.10 not found " ]
)
if test "x$have_license_compatible_gnutls" != "xyes"; then
PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 3.0.29 gnutls < 3.1 ],
[ have_license_compatible_gnutls="yes" ], [ echo "GnuTLS >= 3.0.29 not found " ]
)
fi
if test "x$have_license_compatible_gnutls" != "xyes"; then
PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.0 gnutls < 3],
[ have_license_compatible_gnutls="yes" ] , [ echo "GnuTLS >= 1.2.0, < 3.0 not found " ]