Lines 224-240
try:
Link Here
|
224 |
check_system_heimdal_lib("hx509", "hx509_bitstring_print", "hx509.h", onlyif="roken wind") |
224 |
check_system_heimdal_lib("hx509", "hx509_bitstring_print", "hx509.h", onlyif="roken wind") |
225 |
check_system_heimdal_lib("asn1", "initialize_asn1_error_table", "asn1_err.h", onlyif="roken com_err") |
225 |
check_system_heimdal_lib("asn1", "initialize_asn1_error_table", "asn1_err.h", onlyif="roken com_err") |
226 |
check_system_heimdal_lib("heimbase", "heim_cmp", "heimbase.h", onlyif="roken") |
226 |
check_system_heimdal_lib("heimbase", "heim_cmp", "heimbase.h", onlyif="roken") |
227 |
check_system_heimdal_lib("hcrypto", "MD4_Init", "hcrypto/md4.h", |
227 |
#check_system_heimdal_lib("hcrypto", "MD4_Init", "hcrypto/md4.h", |
228 |
onlyif="asn1 roken com_err") |
228 |
# onlyif="asn1 roken com_err") |
|
|
229 |
if conf.check_cfg(package='libcrypto', |
230 |
# uselib_store='HCRYPTO', |
231 |
args='--cflags --libs', |
232 |
msg='Checking for crypto'): |
233 |
conf.SET_TARGET_TYPE('libcrypto', 'SYSLIB') |
234 |
|
235 |
conf.define('USING_SYSTEM_HCRYPTO', 1) |
229 |
if check_system_heimdal_lib("krb5", "krb5_anyaddr", "krb5.h", |
236 |
if check_system_heimdal_lib("krb5", "krb5_anyaddr", "krb5.h", |
230 |
onlyif="roken wind asn1 hx509 hcrypto com_err heimbase"): |
237 |
# onlyif="roken wind asn1 hx509 hcrypto com_err heimbase"): |
|
|
238 |
onlyif="roken wind asn1 hx509 com_err heimbase"): |
231 |
conf.CHECK_FUNCS_IN('krb5_free_unparsed_name', 'krb5', headers="krb5.h") |
239 |
conf.CHECK_FUNCS_IN('krb5_free_unparsed_name', 'krb5', headers="krb5.h") |
232 |
check_system_heimdal_lib("gssapi", "gss_oid_to_name", "gssapi.h", |
240 |
check_system_heimdal_lib("gssapi", "gss_oid_to_name", "gssapi.h", |
233 |
onlyif="hcrypto asn1 roken krb5 com_err wind") |
241 |
# onlyif="hcrypto asn1 roken krb5 com_err wind") |
|
|
242 |
onlyif="asn1 roken krb5 com_err wind") |
234 |
check_system_heimdal_lib("heimntlm", "heim_ntlm_ntlmv2_key", "heimntlm.h", |
243 |
check_system_heimdal_lib("heimntlm", "heim_ntlm_ntlmv2_key", "heimntlm.h", |
235 |
onlyif="roken hcrypto krb5") |
244 |
# onlyif="roken hcrypto krb5") |
|
|
245 |
onlyif="roken krb5") |
236 |
if check_system_heimdal_lib("hdb", "hdb_db_dir", "krb5.h hdb.h", |
246 |
if check_system_heimdal_lib("hdb", "hdb_db_dir", "krb5.h hdb.h", |
237 |
onlyif="roken krb5 hcrypto com_err wind"): |
247 |
# onlyif="roken krb5 hcrypto com_err wind"): |
|
|
248 |
onlyif="roken krb5 com_err wind"): |
238 |
conf.CHECK_CODE(''' |
249 |
conf.CHECK_CODE(''' |
239 |
#include <hdb.h> |
250 |
#include <hdb.h> |
240 |
int main(void) { hdb_enctype2key(NULL, NULL, NULL, 0, NULL); } |
251 |
int main(void) { hdb_enctype2key(NULL, NULL, NULL, 0, NULL); } |
Lines 246-252
try:
Link Here
|
246 |
local_include=False) |
257 |
local_include=False) |
247 |
|
258 |
|
248 |
check_system_heimdal_lib("kdc", "kdc_log", "kdc.h", |
259 |
check_system_heimdal_lib("kdc", "kdc_log", "kdc.h", |
249 |
onlyif="roken krb5 hdb asn1 heimntlm hcrypto com_err wind heimbase") |
260 |
# onlyif="roken krb5 hdb asn1 heimntlm hcrypto com_err wind heimbase") |
|
|
261 |
onlyif="roken krb5 hdb asn1 heimntlm com_err wind heimbase") |
250 |
finally: |
262 |
finally: |
251 |
conf.env.CCDEFINES = CCDEFINES |
263 |
conf.env.CCDEFINES = CCDEFINES |
252 |
|
264 |
|