From 84f29b814d1786147020867214974deefbb8412a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Fri, 29 Jun 2012 23:43:56 +0200 Subject: [PATCH] s3:waf add sendfile support for Tru64, which is the same as HP-UX's MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Autobuild-User(master): Björn Jacke Autobuild-Date(master): Sat Jun 30 02:22:21 CEST 2012 on sn-devel-104 --- source3/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/wscript b/source3/wscript index cc05095c252..8f2453f2e6a 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 #include @@ -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') -- 2.11.4.GIT