[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Wed Jan 12 04:00:01 MST 2011
The branch, master has been updated
via fa5fdb1 s3-waf: finally enable large file support.
from 35f08a2 s3: Remove a pointless else
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit fa5fdb1a4e1033944f3fdb5584e950b7ed9ee632
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 12 10:34:45 2011 +0100
s3-waf: finally enable large file support.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Wed Jan 12 11:59:22 CET 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/wscript | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/wscript b/source3/wscript
index 3a31169..fc1cc1d 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -116,6 +116,9 @@ def configure(conf):
conf.CHECK_DECLS('fdatasync', reverse=True)
conf.CHECK_DECLS('readahead', reverse=True, headers='fcntl.h')
+ if conf.CONFIG_SET('HAVE_LONG_LONG'):
+ conf.DEFINE('HAVE_LONGLONG', 1)
+
if conf.CHECK_CODE('''
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
@@ -383,6 +386,16 @@ return acl_get_perm_np(permset_d, perm);
'HAVE_PEERCRED',
msg="Checking whether we can use SO_PEERCRED to get socket credentials")
+ conf.CHECK_CODE('''
+ #if defined(HAVE_LONGLONG) && (defined(HAVE_OFF64_T) || (defined(SIZEOF_OFF_T) && (SIZEOF_OFF_T == 8)))
+ #include <sys/types.h>
+ #else
+ __COMPILE_ERROR_
+ #endif
+ int i;''',
+ 'HAVE_EXPLICIT_LARGEFILE_SUPPORT',
+ msg="Checking whether large file support can be enabled")
+
default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam pdb_ldap
auth_sam auth_unix auth_winbind auth_wbc auth_server
auth_domain auth_builtin auth_netlogond vfs_default
--
Samba Shared Repository
More information about the samba-cvs
mailing list