1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/krb5_wrap/wscript_configure

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
884 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
# Check whether we have the krb5_const_pac type, if we aren't sure already.
if conf.CONFIG_SET('HAVE_KRB5_CONST_PAC') or (
conf.CHECK_TYPE('krb5_const_pac',
headers='krb5.h',
lib='krb5')):
# If the type is available, check whether krb5_pac_get_buffer() accepts it
# as its second parameter, or whether it takes krb5_pac instead.
conf.CHECK_C_PROTOTYPE('krb5_pac_get_buffer',
'krb5_error_code krb5_pac_get_buffer('
' krb5_context context,'
' krb5_const_pac p,'
' uint32_t type,'
' krb5_data *data)',
define='KRB5_CONST_PAC_GET_BUFFER',
headers='krb5.h',
lib='krb5')