From 67a59c33fcff5ed63aacf0c2d05aee628dfadfe6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 28 Mar 2010 19:40:05 +1100 Subject: s4-waf: fixed dirfd() detection for heimdal --- lib/replace/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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') -- cgit