diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript index b31b692298b..fc6fd8864fe 100644 --- a/source4/lib/tls/wscript +++ b/source4/lib/tls/wscript @@ -20,8 +20,8 @@ def configure(conf): return conf.check_cfg(package='gnutls', - args='"gnutls >= 1.4.0" --cflags --libs', - msg='Checking for gnutls >= 1.4.0', mandatory=False) + args='"gnutls >= 1.4.0 gnutls != 2.2.4 gnutls != 2.8.0 gnutls != 2.8.1" --cflags --libs', + msg='Checking for gnutls >= 1.4.0 and broken versions', mandatory=False) if 'HAVE_GNUTLS' in conf.env: conf.DEFINE('ENABLE_GNUTLS', 1)