From: Andreas Schneider Date: Mon, 4 Apr 2022 09:25:31 +0000 (+0200) Subject: third_party:waf: Do not recurse in aesni-intel if GnuTLS provides the cipher X-Git-Tag: tevent-0.12.0~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a543d38cd1e6c59758005d83e5469d2bc3eb2c75;p=thirdparty%2Fsamba.git third_party:waf: Do not recurse in aesni-intel if GnuTLS provides the cipher Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Mon Apr 4 19:31:28 UTC 2022 on sn-devel-184 --- diff --git a/third_party/wscript b/third_party/wscript index 1f4bc1ce1d7..a17c15bcaa7 100644 --- a/third_party/wscript +++ b/third_party/wscript @@ -5,7 +5,8 @@ from waflib import Options def configure(conf): conf.RECURSE('cmocka') conf.RECURSE('popt') - conf.RECURSE('aesni-intel') + if not conf.CONFIG_SET('HAVE_GNUTLS_AES_CMAC'): + conf.RECURSE('aesni-intel') if conf.CONFIG_GET('ENABLE_SELFTEST'): conf.RECURSE('socket_wrapper') conf.RECURSE('nss_wrapper') @@ -18,7 +19,8 @@ def configure(conf): def build(bld): bld.RECURSE('cmocka') bld.RECURSE('popt') - bld.RECURSE('aesni-intel') + if not bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC'): + bld.RECURSE('aesni-intel') if bld.CONFIG_GET('SOCKET_WRAPPER'): bld.RECURSE('socket_wrapper') if bld.CONFIG_GET('NSS_WRAPPER'):