Index: source/configure.in =================================================================== --- source/configure.in (revision 25932) +++ source/configure.in (working copy) @@ -5643,11 +5643,11 @@ ################################################# # check for sendfile support -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=yes)], -[ case "$withval" in +[with_sendfile_support=$withval],[with_sendfile_support=yes]) +AC_MSG_CHECKING(whether to check to support sendfile) +case "$with_sendfile_support" in yes) AC_MSG_RESULT(yes); @@ -5893,9 +5893,7 @@ *) AC_MSG_RESULT(no) ;; - esac ], - AC_MSG_RESULT(yes) -) + esac ############################################ # See if we have the Linux readahead syscall.