diff options
author | Kai Blin <kai@samba.org> | 2010-03-23 09:02:59 +0100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:03 +1000 |
commit | 998a9da86792b5d3378e0fa2b86b6bd18e142742 (patch) | |
tree | b2969326c268dff09060328fecd81031a6bc3858 | |
parent | c37f6e649d6e5f8d60e9e5adbbe66455e49f64d5 (diff) | |
download | samba-998a9da86792b5d3378e0fa2b86b6bd18e142742.tar.gz samba-998a9da86792b5d3378e0fa2b86b6bd18e142742.tar.bz2 samba-998a9da86792b5d3378e0fa2b86b6bd18e142742.zip |
build: Check for functions needed by Samba3
-rw-r--r-- | source3/wscript | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 1f91b1f466..118af2bb78 100644 --- a/source3/wscript +++ b/source3/wscript @@ -39,6 +39,25 @@ def configure(conf): conf.CHECK_HEADERS('execinfo.h libexc.h libunwind.h') + conf.CHECK_FUNCS('getcwd fchown chmod fchmod mknod mknod64') + conf.CHECK_FUNCS('strtol strchr strupr chflags') + conf.CHECK_FUNCS('getrlimit fsync fdatasync setpgid') + conf.CHECK_FUNCS('setsid glob strpbrk crypt16 getauthuid') + conf.CHECK_FUNCS('sigprocmask sigblock sigaction sigset innetgr setnetgrent getnetgrent endnetgrent') + conf.CHECK_FUNCS('initgroups select poll rdchk getgrnam getgrent pathconf') + conf.CHECK_FUNCS('setpriv setgidx setuidx setgroups sysconf stat64 fstat64') + conf.CHECK_FUNCS('lstat64 fopen64 atexit grantpt lseek64 ftruncate64 posix_fallocate posix_fallocate64') + conf.CHECK_FUNCS('fseek64 fseeko64 ftell64 ftello64 setluid getpwanam') + conf.CHECK_FUNCS('opendir64 readdir64 seekdir64 telldir64 rewinddir64 closedir64') + conf.CHECK_FUNCS('getpwent_r getdents64 setenv strcasecmp fcvt fcvtl') + conf.CHECK_FUNCS('syslog vsyslog timegm setlocale nl_langinfo') + #TODO convert AC_CHECK_FUNCS(nanosleep,,[AC_CHECK_LIB_EXT(rt, LIBS, nanosleep)]) + conf.CHECK_FUNCS('lutimes futimes utimensat futimens') + conf.CHECK_FUNCS('mlock munlock mlockall munlockall') + conf.CHECK_FUNCS('memalign posix_memalign hstrerror') + conf.CHECK_FUNCS('shmget shm_open') + conf.CHECK_FUNCS('gettext dgettext bindtextdomain textdomain') + # Check for inotify support conf.CHECK_HEADERS('linux/inotify.h asm/unistd.h sys/inotify.h', add_headers=False) conf.CHECK_FUNCS('inotify_init') |