s4:smbtorture: Fix samba3.smb.dir on btrfs
[samba4-gss.git] / nsswitch / wscript_configure
blob48685a8a4e7c15a06a5b435baf425a034b479b23
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')
24 # AIX 4.3.x and 5.1 do not have as many members in
25 # struct secmethod_table as AIX 5.2
26 conf.CHECK_STRUCTURE_MEMBER('struct secmethod_table', 'method_attrlist',
27 define='HAVE_STRUCT_SECMETHOD_TABLE_METHOD_ATTRLIST',
28 headers='usersec.h')
29 conf.CHECK_STRUCTURE_MEMBER('struct secmethod_table', 'method_version',
30 define='HAVE_STRUCT_SECMETHOD_TABLE_METHOD_VERSION',
31 headers='usersec.h')