summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-28 19:40:05 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:14 +1000
commit67a59c33fcff5ed63aacf0c2d05aee628dfadfe6 (patch)
tree98f4f3fbd335a456e00ddc1352f13eef478574e9 /lib/replace
parent1aca0f79b68943791933eb96b4db97447a3c1be9 (diff)
downloadsamba-67a59c33fcff5ed63aacf0c2d05aee628dfadfe6.tar.gz
samba-67a59c33fcff5ed63aacf0c2d05aee628dfadfe6.tar.bz2
samba-67a59c33fcff5ed63aacf0c2d05aee628dfadfe6.zip
s4-waf: fixed dirfd() detection for heimdal
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 134cb76f49..e2baa02b00 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -119,7 +119,7 @@ def configure(conf):
conf.CHECK_FUNCS('asprintf vasprintf setenv unsetenv strnlen strtoull __strtoull')
conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq')
conf.CHECK_FUNCS('if_nametoindex strerror_r')
- conf.CHECK_FUNCS('dirfd getdirentries getdents syslog')
+ conf.CHECK_FUNCS('getdirentries getdents syslog')
conf.CHECK_FUNCS('gai_strerror get_current_dir_name')
conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups setsid')
conf.CHECK_FUNCS('getgrent_r getgrgid_r getgrnam_r getgrouplist getpagesize')
@@ -146,6 +146,7 @@ def configure(conf):
conf.CHECK_DECLS('snprintf vsnprintf asprintf vasprintf')
+ conf.CHECK_FUNCS('dirfd', headers='dirent.h')
conf.CHECK_DECLS('dirfd', reverse=True, headers='dirent.h')
conf.CHECK_DECLS('errno', headers='errno.h', reverse=True)
conf.CHECK_DECLS('environ getgrent_r getpwent_r', reverse=True, headers='pwd.h grp.h')