summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-22 12:43:12 +0100
committerGünther Deschner <gd@samba.org>2011-02-22 13:35:48 +0100
commit79b41dcae14764612946cef012ca20c61dace919 (patch)
tree0f09136e57f2591325a68f677665effe395f3457
parent4fe3ecefa04d7ca1321109574014950503fca5b8 (diff)
downloadsamba-79b41dcae14764612946cef012ca20c61dace919.tar.gz
samba-79b41dcae14764612946cef012ca20c61dace919.tar.bz2
samba-79b41dcae14764612946cef012ca20c61dace919.zip
s3-waf: add check for ftruncate extend.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104
-rw-r--r--source3/wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index de626406c9..ea68959c1c 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1289,6 +1289,12 @@ main() {
execute=True,
msg='Checking whether the realpath function allows a NULL argument')
+ conf.CHECK_CODE('''#include "../tests/ftruncate.c"''',
+ 'HAVE_FTRUNCATE_EXTEND',
+ msg='Checking for ftruncate extend',
+ addmain=False,
+ execute=True)
+
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