tevent: Use talloc_pooled_object for tevent_req_create
[Samba/wip.git] / nsswitch / wscript_configure
blob3048f48c242c767d43c24def3b82f40608e3540b
1 #!/usr/bin/env python
3 conf.CHECK_HEADERS('nss.h nss_common.h ns_api.h')
5 conf.CHECK_HEADERS('security/pam_appl.h security/pam_modules.h pam/pam_modules.h', together=True)
6 conf.CHECK_FUNCS_IN('pam_start', 'pam', checklibc=True, headers='security/pam_appl.h')
8 # Solaris 10 does have new member in nss_XbyY_key
9 conf.CHECK_STRUCTURE_MEMBER('union nss_XbyY_key', 'ipnode.af_family',
10 define='HAVE_NSS_XBYY_KEY_IPNODE',
11 headers='nss_dbdefs.h')
13 # Solaris has some extra fields in struct passwd that need to be
14 # initialised otherwise nscd crashes.
16 conf.CHECK_STRUCTURE_MEMBER('struct passwd', 'pw_comment',
17 define='HAVE_PASSWD_PW_COMMENT',
18 headers='pwd.h')
20 conf.CHECK_STRUCTURE_MEMBER('struct passwd', 'pw_age',
21 define='HAVE_PASSWD_PW_AGE',
22 headers='pwd.h')