From: Günther Deschner Date: Tue, 22 Feb 2011 11:43:12 +0000 (+0100) Subject: s3-waf: add check for ftruncate extend. X-Git-Tag: tevent-0.9.11~370 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79b41dcae14764612946cef012ca20c61dace919;p=thirdparty%2Fsamba.git s3-waf: add check for ftruncate extend. Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104 --- diff --git a/source3/wscript b/source3/wscript index de626406c97..ea68959c1ce 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