summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-06-29 23:43:56 +0200
committerBjoern Jacke <bj@sernet.de>2012-06-30 02:22:21 +0200
commit84f29b814d1786147020867214974deefbb8412a (patch)
treeedc3a37f1f797f9219a90401570a5764f0f766c7 /source3
parent13aaa9410b92159c24a4d6f45ecfd902f9a4941e (diff)
downloadsamba-84f29b814d1786147020867214974deefbb8412a.tar.gz
samba-84f29b814d1786147020867214974deefbb8412a.tar.bz2
samba-84f29b814d1786147020867214974deefbb8412a.zip
s3:waf add sendfile support for Tru64, which is the same as HP-UX's
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Jun 30 02:22:21 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/wscript b/source3/wscript
index cc05095c25..8f2453f2e6 100755
--- a/source3/wscript
+++ b/source3/wscript
@@ -1004,7 +1004,7 @@ main() {
conf.DEFINE('HAVE_SENDFILE', '1')
conf.DEFINE('FREEBSD_SENDFILE_API', '1')
conf.DEFINE('WITH_SENDFILE', '1')
- elif (host_os.rfind('hpux') > -1):
+ elif (host_os.rfind('hpux') > -1) or (host_os.rfind('osf') > -1):
conf.CHECK_CODE('''
#include <sys/socket.h>
#include <sys/uio.h>
@@ -1018,7 +1018,7 @@ main() {
nwritten = sendfile(tofd, fromfd, offset, total, &hdtrl[0], 0);
''',
'_HAVE_SENDFILE',
- msg='Checking for hpux sendfile support')
+ msg='Checking for osf/hpux sendfile support')
if conf.CONFIG_SET('_HAVE_SENDFILE'):
conf.DEFINE('HAVE_SENDFILE', '1')
conf.DEFINE('HPUX_SENDFILE_API', '1')