waf: fix tri-state of --with-sendfile-support being auto the default
authorBjörn Jacke <bjacke@samba.org>
Mon, 7 Jan 2019 00:05:19 +0000 (01:05 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 8 Jan 2019 06:03:49 +0000 (07:03 +0100)
commitf23287bcb69d7c1318aad2472487066e6e6751f4
tree42c11a44849ec65282c87f17fac4a2af5fa2b997
parent99c030bce6e246dfa1821a79abe751013b4bd2ef
waf: fix tri-state of --with-sendfile-support being auto the default

--with-sendfile-support should be used automatically if it's found.

Configure now also fails reliably for all platforms when sendfile was
explicitly requested but failed to be detected.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9707

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan  8 07:03:49 CET 2019 on sn-devel-144
source3/wscript