nsswitch: Lookup the domain in tests with the wb seperator
[gd/samba-autobuild/.git] / nsswitch / wscript_configure
1 #!/usr/bin/env python
2
3 conf.CHECK_HEADERS('nss.h nss_common.h ns_api.h')
4
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')
7
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')
12
13 # Solaris has some extra fields in struct passwd that need to be
14 # initialised otherwise nscd crashes.
15
16 conf.CHECK_STRUCTURE_MEMBER('struct passwd', 'pw_comment',
17                             define='HAVE_PASSWD_PW_COMMENT',
18                             headers='pwd.h')
19
20 conf.CHECK_STRUCTURE_MEMBER('struct passwd', 'pw_age',
21                             define='HAVE_PASSWD_PW_AGE',
22                             headers='pwd.h')