From d6486dff6150f79c54c0736c2c8660fe62ed49e0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 5 Oct 2002 00:40:49 +0000 Subject: Turn on sendfile detection by default in HEAD and 3.0. Jeremy. (This used to be commit a09ba463b42893dc50a9d118ee114f55f47cb610) --- source3/configure.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index e9ad6af93e..4d1fcaefd5 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2733,9 +2733,10 @@ samba_cv_HAVE_ACL_GET_PERM_NP=yes,samba_cv_HAVE_ACL_GET_PERM_NP=no)]) ################################################# # check for sendfile support -AC_MSG_CHECKING(whether to check for support sendfile) +with_sendfile_support=yes +AC_MSG_CHECKING(whether to check to support sendfile) AC_ARG_WITH(sendfile-support, -[ --with-sendfile-support Check for sendfile support (default=no)], +[ --with-sendfile-support Check for sendfile support (default=yes)], [ case "$withval" in yes) @@ -2953,7 +2954,7 @@ samba_cv_HAVE_SENDFILEV=yes,samba_cv_HAVE_SENDFILEV=no)]) AC_MSG_RESULT(no) ;; esac ], - AC_MSG_RESULT(no) + AC_MSG_RESULT(yes) ) -- cgit