diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-11 08:22:09 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-11 09:16:22 +0200 |
commit | ae5d807725906810f8b9ad77d1aad1462dd513dc (patch) | |
tree | 75417f4d43852e57e259b64048f036a02d65d7ac /lib/replace | |
parent | a89b0ef53b990721d6e897b938bed75577b623d9 (diff) | |
download | samba-ae5d807725906810f8b9ad77d1aad1462dd513dc.tar.gz samba-ae5d807725906810f8b9ad77d1aad1462dd513dc.tar.bz2 samba-ae5d807725906810f8b9ad77d1aad1462dd513dc.zip |
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
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 35e376a05d..62075145a5 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') |