summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-04-23 15:01:07 +0300
committerSimo Sorce <idra@samba.org>2012-04-23 16:39:59 -0400
commit090f9072da6974b506901547c0091e3e1b8a11cc (patch)
tree96738edd9f8cc9d7582e49c901f9a314f7b8a65e /source4/heimdal_build
parent5cae9293d118da8765b301f9872e77993f44ad86 (diff)
downloadsamba-090f9072da6974b506901547c0091e3e1b8a11cc.tar.gz
samba-090f9072da6974b506901547c0091e3e1b8a11cc.tar.bz2
samba-090f9072da6974b506901547c0091e3e1b8a11cc.zip
Make sure krb5_principal_get_num_comp is identified as present for Heimdal build
Common wrappers for MIT / Heimdal use krb5_principal_get_num_comp() to replace krb5_princ_size but rely on krb5_principal_get_num_comp() identified by the build. As we know it exists in Heimdal, define it for waf build. Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/wscript_configure1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure
index 5e53fbea59..e64128f44a 100644
--- a/source4/heimdal_build/wscript_configure
+++ b/source4/heimdal_build/wscript_configure
@@ -146,6 +146,7 @@ conf.define('HAVE_ENCTYPE_ARCFOUR_HMAC', 1)
conf.define('HAVE_KRB5_PDU_NONE_DECL', 1)
conf.define('HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96', 1)
conf.define('HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96', 1)
+conf.define('HAVE_KRB5_KRB5_PRINCIPAL_GET_NUM_COMP', 1)
heimdal_includedirs = []
heimdal_libdirs = []