From ce718bb521d3f3a83d07303373889d2c834fbe14 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 17 Feb 2011 10:53:25 +0100 Subject: s3-waf: add check for "struct utimbuf". Guenther --- source3/wscript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source3/wscript b/source3/wscript index 4938f165f2..e8c867f741 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1113,6 +1113,11 @@ syscall(SYS_initgroups, 16, NULL, NULL, 0); 'HAVE_DARWIN_INITGROUPS', msg='Checking hether to use the Darwin-specific initgroups system call') + conf.CHECK_CODE('''struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));''', + 'HAVE_UTIMBUF', + headers='sys/types.h utime.h', + msg='Checking whether struct utimbuf is available') + default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam auth_sam auth_unix auth_winbind auth_wbc auth_server auth_domain auth_builtin vfs_default -- cgit