summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-09-17 01:00:03 +0000
committerJeremy Allison <jra@samba.org>2002-09-17 01:00:03 +0000
commitf74086ccf09e8157419f7c51490dc31effb6ba20 (patch)
treee3f5bbdd83dfa353486396e3dbf78c08524e4adc /source3/configure.in
parentad5ab5f5832844dc6eff3f2c72d24eba5e8b4d29 (diff)
downloadsamba-f74086ccf09e8157419f7c51490dc31effb6ba20.tar.gz
samba-f74086ccf09e8157419f7c51490dc31effb6ba20.tar.bz2
samba-f74086ccf09e8157419f7c51490dc31effb6ba20.zip
Attempt to make broken Linux sendfile work.... Still in progress.
Jeremy. (This used to be commit f956a4d29d0d88cd92fac0f0c9f636fc152afe0a)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 76dc380c13..8f3a06b0cd 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2710,12 +2710,14 @@ samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes,samba_cv_HAVE_BROKEN_LINUX_SENDFILE=no)]
if test x"$samba_cv_HAVE_SENDFILE64" = x"yes"; then
AC_DEFINE(HAVE_SENDFILE64)
AC_DEFINE(LINUX_SENDFILE_API)
+ AC_DEFINE(WITH_SENDFILE)
elif test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then
AC_DEFINE(HAVE_SENDFILE)
AC_DEFINE(LINUX_SENDFILE_API)
+ AC_DEFINE(WITH_SENDFILE)
elif test x"$samba_cv_HAVE_BROKEN_LINUX_SENDFILE" = x"yes"; then
- AC_DEFINE(HAVE_SENDFILE)
AC_DEFINE(LINUX_BROKEN_SENDFILE_API)
+ AC_DEFINE(WITH_SENDFILE)
else
AC_MSG_RESULT(no);
fi