]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
waf: Check for GnuTLS earlier
authorAndreas Schneider <asn@samba.org>
Mon, 4 Apr 2022 09:24:04 +0000 (11:24 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 4 Apr 2022 18:38:36 +0000 (18:38 +0000)
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>
wscript

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