| 1 | #!/usr/bin/env python
|
|---|
| 2 |
|
|---|
| 3 | conf.CHECK_HEADERS('sys/capability.h')
|
|---|
| 4 | conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r')
|
|---|
| 5 |
|
|---|
| 6 | # solaris varients of getXXent_r
|
|---|
| 7 | conf.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')
|
|---|
| 10 | conf.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
|
|---|
| 15 | conf.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')
|
|---|
| 18 | conf.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 |
|
|---|
| 22 | conf.CHECK_FUNCS('getgrouplist')
|
|---|
| 23 | conf.CHECK_HEADERS('ctype.h locale.h langinfo.h')
|
|---|
| 24 | conf.CHECK_HEADERS('fnmatch.h locale.h langinfo.h')
|
|---|
| 25 | conf.CHECK_HEADERS('sys/ipc.h sys/mman.h sys/shm.h')
|
|---|
| 26 | conf.CHECK_HEADERS('termios.h termio.h sys/termio.h')
|
|---|