mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04:23:50 +03:00
67 lines
1.5 KiB
Plaintext
67 lines
1.5 KiB
Plaintext
# filesys
|
|
AC_HEADER_DIRENT
|
|
AC_CHECK_HEADERS(fcntl.h sys/fcntl.h sys/resource.h sys/ioctl.h sys/mode.h sys/filio.h sys/fs/s5param.h sys/filsys.h)
|
|
AC_CHECK_HEADERS(sys/acl.h acl/libacl.h)
|
|
|
|
# select
|
|
AC_CHECK_HEADERS(sys/select.h)
|
|
|
|
# time
|
|
AC_CHECK_HEADERS(sys/time.h utime.h)
|
|
AC_HEADER_TIME
|
|
|
|
# wait
|
|
AC_HEADER_SYS_WAIT
|
|
|
|
# capability
|
|
AC_CHECK_HEADERS(sys/capability.h)
|
|
|
|
# passwd
|
|
AC_CHECK_HEADERS(grp.h sys/id.h compat.h shadow.h sys/priv.h pwd.h sys/security.h)
|
|
AC_CHECK_FUNCS(getpwnam_r getpwuid_r getpwent_r)
|
|
AC_HAVE_DECL(getpwent_r, [
|
|
#include <unistd.h>
|
|
#include <pwd.h>
|
|
])
|
|
AC_VERIFY_C_PROTOTYPE([struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)],
|
|
[
|
|
#ifndef HAVE_GETPWENT_R_DECL
|
|
#error missing getpwent_r prototype
|
|
#endif
|
|
return NULL;
|
|
],[
|
|
AC_DEFINE(SOLARIS_GETPWENT_R, 1, [getpwent_r solaris function prototype])
|
|
],[],[
|
|
#include <unistd.h>
|
|
#include <pwd.h>
|
|
])
|
|
AC_CHECK_FUNCS(getgrnam_r getgrgid_r getgrent_r)
|
|
AC_HAVE_DECL(getgrent_r, [
|
|
#include <unistd.h>
|
|
#include <grp.h>
|
|
])
|
|
AC_VERIFY_C_PROTOTYPE([struct group *getgrent_r(struct group *src, char *buf, int buflen)],
|
|
[
|
|
#ifndef HAVE_GETGRENT_R_DECL
|
|
#error missing getgrent_r prototype
|
|
#endif
|
|
return NULL;
|
|
],[
|
|
AC_DEFINE(SOLARIS_GETGRENT_R, 1, [getgrent_r solaris function prototype])
|
|
],[],[
|
|
#include <unistd.h>
|
|
#include <grp.h>
|
|
])
|
|
|
|
# locale
|
|
AC_CHECK_HEADERS(ctype.h locale.h)
|
|
|
|
# glob
|
|
AC_CHECK_HEADERS(fnmatch.h)
|
|
|
|
# shmem
|
|
AC_CHECK_HEADERS(sys/ipc.h sys/mman.h sys/shm.h )
|
|
|
|
# terminal
|
|
AC_CHECK_HEADERS(termios.h termio.h sys/termio.h )
|