summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-17 10:53:25 +0100
committerGünther Deschner <gd@samba.org>2011-02-17 11:16:06 +0100
commitce718bb521d3f3a83d07303373889d2c834fbe14 (patch)
tree429a0aa60e1e35418e071f5f7fd9a8d947cc47b8 /source3/wscript
parent9c12232f1ae36e00d04114ad73edd8ba3c2c6a5c (diff)
downloadsamba-ce718bb521d3f3a83d07303373889d2c834fbe14.tar.gz
samba-ce718bb521d3f3a83d07303373889d2c834fbe14.tar.bz2
samba-ce718bb521d3f3a83d07303373889d2c834fbe14.zip
s3-waf: add check for "struct utimbuf".
Guenther
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript5
1 files changed, 5 insertions, 0 deletions
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