summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 15:31:04 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:43 +1000
commit5d39ac84d1ed4adb6021ecb0fd74f32580981741 (patch)
tree70896c09e2e6f317f1c16e6b5eab18d8c7522841 /lib/replace
parentcfb4f55a7be13660377ec80fe1444c41dd4065d4 (diff)
downloadsamba-5d39ac84d1ed4adb6021ecb0fd74f32580981741.tar.gz
samba-5d39ac84d1ed4adb6021ecb0fd74f32580981741.tar.bz2
samba-5d39ac84d1ed4adb6021ecb0fd74f32580981741.zip
build: check for offset_t and pw*_r functions
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 0d93f9604e..8990240316 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -99,6 +99,7 @@ def configure(conf):
conf.CHECK_TYPE('ino_t', 'unsigned')
conf.CHECK_TYPE('loff_t', 'off_t')
conf.CHECK_TYPE('bool', 'off_t')
+ conf.CHECK_TYPE('offset_t', 'loff_t')
conf.CHECK_TYPE_IN('struct ifaddrs', 'ifaddrs.h')
conf.CHECK_TYPE_IN('struct addrinfo', 'netdb.h')
@@ -116,8 +117,11 @@ def configure(conf):
conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq memmem printf memset memcpy')
conf.CHECK_FUNCS('connect gethostbyname if_nametoindex socketpair')
conf.CHECK_FUNCS('inet_ntoa inet_aton inet_ntop inet_pton')
- conf.CHECK_FUNCS('dirfd getdirentries getdents syslog')
- conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs')
+ conf.CHECK_FUNCS('dirfd getdirentries getdents syslog epoll getaddrinfo')
+ conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups setsid')
+ conf.CHECK_FUNCS('getgrent_r getgrgid_r getgrnam_r getgrouplist getpagesize')
+ conf.CHECK_FUNCS('getpwent_r getpwnam_r getpwuid_r')
+
conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl')
conf.CHECK_FUNCS_IN('poptGetContext', 'popt')