summaryrefslogtreecommitdiff
path: root/source4/lib/tls
diff options
context:
space:
mode:
authorThomas Nagy <tnagy2pow10@gmail.com>2015-03-07 15:31:19 +0100
committerAndrew Bartlett <abartlet@samba.org>2015-03-16 03:00:07 +0100
commit3c0e3af39541f15eef0f9017cb1622706e73e46a (patch)
tree9afaa2e78e6a63cea6f86a870f8124fba90ee5f9 /source4/lib/tls
parent5771276be91ec3aad6a7d8cf396ee4721a171feb (diff)
downloadsamba-3c0e3af39541f15eef0f9017cb1622706e73e46a.tar.gz
Transition to waf 1.8: wrapped conf.check_cfg
Reviewed-By: Jelmer Vernooij <jelmer@samba.org> (forward ported to current master by abartlet) Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/tls')
-rw-r--r--source4/lib/tls/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript
index cbba87d5804..0223d7378d5 100644
--- a/source4/lib/tls/wscript
+++ b/source4/lib/tls/wscript
@@ -21,12 +21,12 @@ def configure(conf):
conf.fatal("--disable-gnutls given: Building the AD DC requires GnuTLS (eg libgnutls-dev, gnutls-devel) for ldaps:// support and for the BackupKey protocol")
return
- if conf.check_cfg(package='gnutls',
+ if conf.CHECK_CFG(package='gnutls',
args='"gnutls >= 3.0.0" --cflags --libs',
msg='Checking for gnutls >= 3.0.0s', mandatory=False):
conf.DEFINE('HAVE_GNUTLS3', 1)
else:
- conf.check_cfg(package='gnutls',
+ conf.CHECK_CFG(package='gnutls',
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)