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