summaryrefslogtreecommitdiff
path: root/wscript_configure_system_mitkrb5
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2021-10-07 16:28:26 +0200
committerAndreas Schneider <asn@cryptomilk.org>2022-03-04 14:05:31 +0000
commitc9653e511d9e2f85f2fed5186285cdc655fb19e4 (patch)
tree5d40ce705ee188f9f9ff8bbd363206863aa324c9 /wscript_configure_system_mitkrb5
parentf1ec950aeb47283a504018bafa21f54c3282e70c (diff)
downloadsamba-c9653e511d9e2f85f2fed5186285cdc655fb19e4.tar.gz
selftest: More tests are passing with MIT KRB5 >= 1.20
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'wscript_configure_system_mitkrb5')
-rw-r--r--wscript_configure_system_mitkrb52
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5
index efdbced6e78..799d8c4fe6e 100644
--- a/wscript_configure_system_mitkrb5
+++ b/wscript_configure_system_mitkrb5
@@ -98,6 +98,8 @@ if conf.env.KRB5_CONFIG:
else:
Logs.info('MIT Kerberos %s detected, MIT krb5 build can proceed' % (krb5_version))
+ if parse_version(krb5_version) < parse_version('1.20'):
+ conf.DEFINE('HAVE_MIT_KRB5_PRE_1_20', 1)
conf.define('USING_SYSTEM_MITKRB5', '"%s"' % krb5_version)
conf.CHECK_HEADERS('krb5.h krb5/locate_plugin.h', lib='krb5')