1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

waf: Check for GnuTLS earlier

As GnuTLS is an essential part we need to check for it early so we can react on
GnuTLS features in other wscripts.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andreas Schneider 2022-04-04 11:24:04 +02:00 committed by Jeremy Allison
parent 7b98e6fcb4
commit efc2de0d8d

View File

@ -189,6 +189,8 @@ def configure(conf):
conf.RECURSE('dynconfig') conf.RECURSE('dynconfig')
conf.RECURSE('selftest') conf.RECURSE('selftest')
conf.PROCESS_SEPARATE_RULE('system_gnutls')
conf.CHECK_CFG(package='zlib', minversion='1.2.3', conf.CHECK_CFG(package='zlib', minversion='1.2.3',
args='--cflags --libs', args='--cflags --libs',
mandatory=True) mandatory=True)
@ -297,8 +299,6 @@ def configure(conf):
if not conf.CONFIG_GET('KRB5_VENDOR'): if not conf.CONFIG_GET('KRB5_VENDOR'):
conf.PROCESS_SEPARATE_RULE('embedded_heimdal') conf.PROCESS_SEPARATE_RULE('embedded_heimdal')
conf.PROCESS_SEPARATE_RULE('system_gnutls')
conf.RECURSE('source4/dsdb/samdb/ldb_modules') conf.RECURSE('source4/dsdb/samdb/ldb_modules')
conf.RECURSE('source4/ntvfs/sysdep') conf.RECURSE('source4/ntvfs/sysdep')
conf.RECURSE('lib/util') conf.RECURSE('lib/util')