From 79b41dcae14764612946cef012ca20c61dace919 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 22 Feb 2011 12:43:12 +0100 Subject: s3-waf: add check for ftruncate extend. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104 --- source3/wscript | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit