From: Alexander Bokovoy Date: Mon, 23 Apr 2012 12:01:07 +0000 (+0300) Subject: Make sure krb5_principal_get_num_comp is identified as present for Heimdal build X-Git-Tag: samba-4.0.0alpha20~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=090f9072da6974b506901547c0091e3e1b8a11cc;p=thirdparty%2Fsamba.git 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 --- diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure index 5e53fbea599..e64128f44ab 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 = []