lib:util: Remove redundant casts in PUSH_*() macros
[Samba.git] / lib / krb5_wrap / wscript_configure
blobb595eef679cc33d271f6536630cd75bd0c2bf4cf
1 #!/usr/bin/env python
3 # Check whether we have the krb5_const_pac type, if we aren't sure already.
4 if conf.CONFIG_SET('HAVE_KRB5_CONST_PAC') or (
5 conf.CHECK_TYPE('krb5_const_pac',
6 headers='krb5.h',
7 lib='krb5')):
8 # If the type is available, check whether krb5_pac_get_buffer() accepts it
9 # as its second parameter, or whether it takes krb5_pac instead.
10 conf.CHECK_C_PROTOTYPE('krb5_pac_get_buffer',
11 'krb5_error_code krb5_pac_get_buffer('
12 ' krb5_context context,'
13 ' krb5_const_pac p,'
14 ' uint32_t type,'
15 ' krb5_data *data)',
16 define='KRB5_CONST_PAC_GET_BUFFER',
17 headers='krb5.h',
18 lib='krb5')