[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Tue May 11 07:25:58 MDT 2010


The branch, master has been updated
       via  eff3a41... waf:libreplace: set _OSF_SOURCE to fix build on Tru64
      from  82bedb5... README.Coding - cosmetic changes

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


- Log -----------------------------------------------------------------
commit eff3a41bb8206d183d8228592341dcb70b26eabf
Author: Björn Jacke <bj at sernet.de>
Date:   Tue May 11 15:23:54 2010 +0200

    waf:libreplace: set _OSF_SOURCE to fix build on Tru64

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

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


Changeset truncated at 500 lines:

diff --git a/lib/replace/wscript b/lib/replace/wscript
index cfb4181..4bafcad 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -29,6 +29,10 @@ def configure(conf):
 
     conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
 
+    # on Tru64 certain features are only available with _OSF_SOURCE
+    if conf.env['SYSTEM_UNAME_SYSNAME'] == 'OSF1':
+        conf.DEFINE('_OSF_SOURCE', 1, 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')
     conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h')


-- 
Samba Shared Repository


More information about the samba-cvs mailing list