From 5d84194644c25055bd2535e336995492f6b68228 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 28 Mar 2010 22:24:15 +1100 Subject: s4-waf: heimdal wants to look for dd_fd in DIR --- source4/heimdal_build/wscript_configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/heimdal_build/wscript_configure') diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure index a887636803a..8d39561e77a 100644 --- a/source4/heimdal_build/wscript_configure +++ b/source4/heimdal_build/wscript_configure @@ -52,4 +52,8 @@ conf.CHECK_FUNCS_IN('openpty', 'util', checklibc=True, headers='pty.h util.h lib conf.DEFINE('HAVE_KRB5',1) conf.DEFINE('HAVE_GSSAPI',1) +conf.CHECK_FUNCS('dirfd', headers='dirent.h') +conf.CHECK_DECLS('dirfd', reverse=True, headers='dirent.h') +conf.CHECK_STRUCTURE_MEMBER('DIR', 'dd_fd', define='HAVE_DIR_DD_FD', headers='dirent.h') + conf.DEFINE('SAMBA4_INTERNAL_HEIMDAL', 1) -- cgit v1.2.1