From 00649a9c6266f959dbc7d857180e43f2b1363844 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Mar 2010 09:29:51 +1100 Subject: build: updated configure checks or new syntax --- source4/lib/tls/wscript | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'source4/lib/tls') diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript index 45fa55aaef..a993848cf9 100644 --- a/source4/lib/tls/wscript +++ b/source4/lib/tls/wscript @@ -15,15 +15,12 @@ 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', header='gnutls/gnutls.h') - - conf.CHECK_HEADERS('gnutls/gnutls.h') + conf.CHECK_FUNCS_IN('gnutls_global_init', 'gnutls', headers='gnutls/gnutls.h') # check for gnutls_datum types - conf.CHECK_TYPES('gnutls_datum gnutls_datum_t') + conf.CHECK_TYPES('gnutls_datum gnutls_datum_t', headers='gnutls/gnutls.h') - conf.CHECK_HEADERS('gcrypt.h') - conf.CHECK_FUNCS_IN('gcry_control', 'gcrypt') + conf.CHECK_FUNCS_IN('gcry_control', 'gcrypt', headers='gcrypt.h') conf.CHECK_FUNCS_IN('gpg_err_code_from_errno', 'gpg-error') -- cgit