mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3-waf: finally enable large file support.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 11:59:22 CET 2011 on sn-devel-104
This commit is contained in:
parent
35f08a2958
commit
fa5fdb1a4e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user