Changeset 739 for branches/samba-3.5.x/source3/configure.in
- Timestamp:
- Nov 12, 2012, 7:37:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/configure.in
r620 r739 5715 5715 # check for sendfile support 5716 5716 5717 with_sendfile_support=yes 5718 AC_MSG_CHECKING(whether to check to support sendfile) 5717 AC_MSG_CHECKING(whether sendfile support should be built in) 5719 5718 AC_ARG_WITH(sendfile-support, 5720 [AS_HELP_STRING([--with-sendfile-support], [ Check for sendfile support (default=yes)])],5719 [AS_HELP_STRING([--with-sendfile-support], [Whether sendfile support should be built in (default=auto)])], 5721 5720 [ case "$withval" in 5722 yes) 5723 5724 AC_MSG_RESULT(yes); 5725 5726 case "$host_os" in 5721 yes|no) 5722 AC_MSG_RESULT($withval); 5723 with_sendfile_support=$withval 5724 ;; 5725 *) 5726 AC_MSG_RESULT(yes) 5727 with_sendfile_support=auto 5728 ;; 5729 esac ], 5730 ) 5731 5732 if test x$with_sendfile_support != xno ; then 5733 case "$host_os" in 5727 5734 *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) 5728 5735 AC_CACHE_CHECK([for linux sendfile64 support],samba_cv_HAVE_SENDFILE64,[ … … 5960 5967 *) 5961 5968 ;; 5962 esac 5963 ;; 5964 *) 5965 AC_MSG_RESULT(no) 5966 ;; 5967 esac ], 5968 AC_MSG_RESULT(yes) 5969 ) 5969 esac 5970 fi 5971 5972 if test x$with_sendfile_support = xyes -a x"$samba_cv_HAVE_SENDFILE" != xyes ; then 5973 AC_MSG_ERROR(sendfile support requested but sendfile not available ) 5974 fi 5970 5975 5971 5976 ############################################
Note:
See TracChangeset
for help on using the changeset viewer.