summaryrefslogtreecommitdiff
path: root/wscript_configure_system_mitkrb5
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-04-02 07:31:33 +0000
committerAndrew Bartlett <abartlet@samba.org>2021-06-15 22:41:34 +0000
commitd62917d3d7eeb9c5782d7230a4012b5a9235154f (patch)
treeb51f7432a8edc2fb820d52b12ff1fe25c7ad4c7a /wscript_configure_system_mitkrb5
parent7b4aef782cdc8d801b91a2538a942a4e5bab4f94 (diff)
downloadsamba-d62917d3d7eeb9c5782d7230a4012b5a9235154f.tar.gz
heimdal_build: Provide C defines showing which Kerberos library is in use
Squashed from patches by Stefan Metzmacher as part of his Heimdal update branch Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'wscript_configure_system_mitkrb5')
-rw-r--r--wscript_configure_system_mitkrb51
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5
index b0bf2a8b40d..f971194c2cd 100644
--- a/wscript_configure_system_mitkrb5
+++ b/wscript_configure_system_mitkrb5
@@ -79,6 +79,7 @@ if conf.env.KRB5_CONFIG:
if parse_version(krb5_version) < parse_version('1.18'):
conf.DEFINE('HAVE_MIT_KRB5_PRE_1_18', 1)
+ conf.define('USING_SYSTEM_MITKRB5', '"%s"' % krb5_version)
conf.CHECK_CFG(args="--cflags --libs", package="com_err", uselib_store="com_err")
conf.CHECK_FUNCS_IN('_et_list', 'com_err')