source: trunk/server/lib/replace/system/wscript_configure

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 1.2 KB
Line 
1#!/usr/bin/env python
2
3conf.CHECK_HEADERS('sys/capability.h')
4conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r')
5
6# solaris varients of getXXent_r
7conf.CHECK_C_PROTOTYPE('getpwent_r',
8 'struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)',
9 define='SOLARIS_GETPWENT_R', headers='pwd.h')
10conf.CHECK_C_PROTOTYPE('getgrent_r',
11 'struct group *getgrent_r(struct group *src, char *buf, int buflen)',
12 define='SOLARIS_GETGRENT_R', headers='grp.h')
13
14# the irix varients
15conf.CHECK_C_PROTOTYPE('getpwent_r',
16 'struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen)',
17 define='SOLARIS_GETPWENT_R', headers='pwd.h')
18conf.CHECK_C_PROTOTYPE('getgrent_r',
19 'struct group *getgrent_r(struct group *src, char *buf, size_t buflen)',
20 define='SOLARIS_GETGRENT_R', headers='grp.h')
21
22conf.CHECK_FUNCS('getgrouplist')
23conf.CHECK_HEADERS('ctype.h locale.h langinfo.h')
24conf.CHECK_HEADERS('fnmatch.h locale.h langinfo.h')
25conf.CHECK_HEADERS('sys/ipc.h sys/mman.h sys/shm.h')
26conf.CHECK_HEADERS('termios.h termio.h sys/termio.h')
Note: See TracBrowser for help on using the repository browser.