[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Sat Sep 11 01:15:51 MDT 2010


The branch, master has been updated
       via  b8f28c2 lib/replace:wscript - don't check twice for type "bool"
       via  ae5d807 lib/replace:wscript - attempt to fix the features detection on Tru64
      from  a89b0ef Add check missing from previous patch after talloc_strdup().

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


- Log -----------------------------------------------------------------
commit b8f28c2e70b3fa332313126ea6f1f2f42fb46a90
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Sat Sep 11 08:42:10 2010 +0200

    lib/replace:wscript - don't check twice for type "bool"

commit ae5d807725906810f8b9ad77d1aad1462dd513dc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Sat Sep 11 08:22:09 2010 +0200

    lib/replace:wscript - attempt to fix the features detection on Tru64
    
    Hopefully now we detect the built-in "socklen_t"
    
    https://bugs.internet2.edu/jira/browse/SSPCPP-114
    http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN5/0001____.HTM

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

Summary of changes:
 lib/replace/wscript |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/replace/wscript b/lib/replace/wscript
index 35e376a..331f1e8 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -29,9 +29,9 @@ def configure(conf):
 
     conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
 
-    # on Tru64 certain features are only available with _OSF_SOURCE
+    # on Tru64 certain features are only available with _XOPEN_SOURCE set to 500
     if conf.env['SYSTEM_UNAME_SYSNAME'] == 'OSF1':
-        conf.DEFINE('_OSF_SOURCE', 1, add_to_cflags=True)
+        conf.DEFINE('_XOPEN_SOURCE', 500, add_to_cflags=True)
 
     conf.CHECK_HEADERS('crypt.h locale.h acl/libacl.h compat.h')
     conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h')
@@ -67,8 +67,7 @@ def configure(conf):
     conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h')
     conf.CHECK_HEADERS('syscall.h sys/syscall.h inttypes.h')
 
-    conf.CHECK_TYPES('"long long" intptr_t uintptr_t ptrdiff_t')
-    conf.CHECK_TYPES('comparison_fn_t bool')
+    conf.CHECK_TYPES('"long long" intptr_t uintptr_t ptrdiff_t comparison_fn_t')
     conf.CHECK_TYPE('_Bool', define='HAVE__Bool')
 
     conf.CHECK_TYPE('int8_t', 'char')


-- 
Samba Shared Repository


More information about the samba-cvs mailing list