examples:winexe: embed Samba version as exe timestamp
[samba.git] / wscript_configure_system_gnutls
index 9e9abcce17d91ac70391d06898e4cc2defd02324..f62de5560d6393b4864d768432078287a963e314 100644 (file)
@@ -1,4 +1,3 @@
-from waflib import Logs
 import os
 
 def parse_version(v):
@@ -35,6 +34,11 @@ conf.SET_TARGET_TYPE('gnutls', 'SYSLIB')
 if (gnutls_version > parse_version('3.6.14')):
       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.DEFINE('HAVE_GNUTLS_CB_TLS_SERVER_END_POINT', 1)
+
 # Check if gnutls has fips mode support
 # gnutls_fips140_mode_enabled() is available since 3.3.0
 fragment = '''