[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Thu Jun 7 16:37:03 MDT 2012


The branch, master has been updated
       via  2bdfd28 build: try to fix large file support for AIX
      from  35a2d02 ccan: Only build ccan-failtest when we are in developer mode

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 2bdfd284abe28aa64b4751b506ef0be338567a88
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jun 7 22:43:43 2012 +0200

    build: try to fix large file support for AIX
    
    Autobuild-User(master): Björn Jacke <bj at sernet.de>
    Autobuild-Date(master): Fri Jun  8 00:37:00 CEST 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 buildtools/wafsamba/samba_conftests.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py
index 3605e33..0274f66 100644
--- a/buildtools/wafsamba/samba_conftests.py
+++ b/buildtools/wafsamba/samba_conftests.py
@@ -113,6 +113,14 @@ def CHECK_LARGEFILE(conf, define='HAVE_LARGEFILE'):
                        msg='Checking for -D_FILE_OFFSET_BITS=64'):
         conf.DEFINE('_FILE_OFFSET_BITS', 64)
         return True
+
+    if conf.CHECK_CODE('return !(sizeof(off_t) >= 8)',
+                       define,
+                       execute=True,
+                       cflags='-D_LARGE_FILES',
+                       msg='Checking for -D_LARGE_FILES'):
+        conf.DEFINE('_LARGE_FILES', 1)
+        return True
     return False
 
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list