summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/tls/wscript12
1 files changed, 8 insertions, 4 deletions
diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript
index 66cc762b98..4fbbd0deaa 100644
--- a/source4/lib/tls/wscript
+++ b/source4/lib/tls/wscript
@@ -15,17 +15,21 @@ def configure(conf):
if 'HAVE_GNUTLS' in conf.env and not Options.options.disable_gnutls:
conf.DEFINE('ENABLE_GNUTLS', 1)
- conf.CHECK_FUNCS_IN('gnutls_global_init', 'gnutls', headers='gnutls/gnutls.h')
+ conf.CHECK_FUNCS_IN('gnutls_global_init', 'gnutls',
+ headers='gnutls/gnutls.h')
conf.CHECK_VARIABLE('gnutls_x509_crt_set_version',
headers='gnutls/gnutls.h gnutls/x509.h',
- define='HAVE_GNUTLS_X509_CRT_SET_VERSION')
+ define='HAVE_GNUTLS_X509_CRT_SET_VERSION',
+ lib='gnutls')
conf.CHECK_VARIABLE('gnutls_x509_crt_set_subject_key_id',
headers='gnutls/gnutls.h gnutls/x509.h',
- define='HAVE_GNUTLS_X509_CRT_SET_SUBJECT_KEY_ID')
+ define='HAVE_GNUTLS_X509_CRT_SET_SUBJECT_KEY_ID',
+ lib='gnutls')
# check for gnutls_datum types
- conf.CHECK_TYPES('gnutls_datum gnutls_datum_t', headers='gnutls/gnutls.h')
+ conf.CHECK_TYPES('gnutls_datum gnutls_datum_t',
+ headers='gnutls/gnutls.h', lib='gnutls')
conf.CHECK_FUNCS_IN('gcry_control', 'gcrypt', headers='gcrypt.h')
conf.CHECK_FUNCS_IN('gpg_err_code_from_errno', 'gpg-error')