From: Björn Jacke Date: Tue, 11 May 2010 13:23:54 +0000 (+0200) Subject: waf:libreplace: set _OSF_SOURCE to fix build on Tru64 X-Git-Tag: samba-3.6.0pre1~2093 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff3a41bb8206d183d8228592341dcb70b26eabf;p=thirdparty%2Fsamba.git waf:libreplace: set _OSF_SOURCE to fix build on Tru64 --- diff --git a/lib/replace/wscript b/lib/replace/wscript index cfb41810665..4bafcadbd40 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')