Ignore:
Timestamp:
Nov 12, 2012, 7:37:04 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.19

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/configure.in

    r620 r739  
    57155715# check for sendfile support
    57165716
    5717 with_sendfile_support=yes
    5718 AC_MSG_CHECKING(whether to check to support sendfile)
     5717AC_MSG_CHECKING(whether sendfile support should be built in)
    57195718AC_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)])],
    57215720[ 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
     5732if test x$with_sendfile_support != xno ; then
     5733    case "$host_os" in
    57275734        *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
    57285735                AC_CACHE_CHECK([for linux sendfile64 support],samba_cv_HAVE_SENDFILE64,[
     
    59605967        *)
    59615968        ;;
    5962         esac
    5963         ;;
    5964   *)
    5965     AC_MSG_RESULT(no)
    5966     ;;
    5967   esac ],
    5968   AC_MSG_RESULT(yes)
    5969 )
     5969    esac
     5970fi
     5971
     5972if 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 )
     5974fi
    59705975
    59715976############################################
Note: See TracChangeset for help on using the changeset viewer.