From: Stefan Metzmacher Date: Wed, 16 Apr 2025 18:15:07 +0000 (+0200) Subject: system_gnutls: print the found gnutls version and detected features X-Git-Tag: tdb-1.4.14~119 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd786a1e63849ba2f081dfa2fc0d52a6f249cb87;p=thirdparty%2Fsamba.git system_gnutls: print the found gnutls version and detected features This makes it easier to analyze build failures. Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/wscript_configure_system_gnutls b/wscript_configure_system_gnutls index f62de5560d6..09c22ef5a9f 100644 --- a/wscript_configure_system_gnutls +++ b/wscript_configure_system_gnutls @@ -17,6 +17,7 @@ conf.CHECK_CFG(package='gnutls', mandatory=True) gnutls_version_str = conf.cmd_and_log(conf.env.PKGCONFIG + ['--modversion', 'gnutls']).strip() +conf.msg('Found GnuTLS Version', gnutls_version_str) gnutls_version = parse_version(gnutls_version_str) # Define gnutls as a system library @@ -32,11 +33,13 @@ conf.SET_TARGET_TYPE('gnutls', 'SYSLIB') # 3.6.10 - 3.6.14 have a severe memory leak with AES-CCM # https://gitlab.com/gnutls/gnutls/-/merge_requests/1278 if (gnutls_version > parse_version('3.6.14')): + conf.msg('Defined ALLOW_GNUTLS_AEAD_CIPHER_ENCRYPTV2_AES_CCM', '1') conf.DEFINE('ALLOW_GNUTLS_AEAD_CIPHER_ENCRYPTV2_AES_CCM', 1) # GNUTLS_CB_TLS_SERVER_END_POINT is available with # 3.7.2 if (gnutls_version >= parse_version('3.7.2')): + conf.msg('Defined HAVE_GNUTLS_CB_TLS_SERVER_END_POINT', '1') conf.DEFINE('HAVE_GNUTLS_CB_TLS_SERVER_END_POINT', 1) # Check if gnutls has fips mode support