diff options
Diffstat (limited to 'source4/lib/tls')
-rw-r--r-- | source4/lib/tls/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript index 57cd89418aa..ae963950f25 100644 --- a/source4/lib/tls/wscript +++ b/source4/lib/tls/wscript @@ -25,6 +25,9 @@ def configure(conf): if 'HAVE_GNUTLS' in conf.env: conf.DEFINE('ENABLE_GNUTLS', 1) + else: + if 'AD_DC_BUILD_IS_ENABLED' in conf.env: + conf.fatal("Building the AD DC requires GnuTLS (eg libgnutls-dev, gnutls-devel) for ldaps:// support and for the BackupKey protocol") conf.CHECK_FUNCS_IN('gnutls_global_init', 'gnutls', headers='gnutls/gnutls.h') |