diff options
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 3a3116912c..fc1cc1df86 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 |