source: vendor/current/nsswitch/wscript_configure

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 924 bytes
Line 
1#!/usr/bin/env python
2
3conf.CHECK_HEADERS('nss.h nss_common.h ns_api.h')
4
5conf.CHECK_HEADERS('security/pam_appl.h security/pam_modules.h pam/pam_modules.h', together=True)
6conf.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
9conf.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
16conf.CHECK_STRUCTURE_MEMBER('struct passwd', 'pw_comment',
17 define='HAVE_PASSWD_PW_COMMENT',
18 headers='pwd.h')
19
20conf.CHECK_STRUCTURE_MEMBER('struct passwd', 'pw_age',
21 define='HAVE_PASSWD_PW_AGE',
22 headers='pwd.h')
Note: See TracBrowser for help on using the repository browser.