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

    r738 r739  
    17831783  --with-acl-support      Include ACL support (default=auto)
    17841784  --with-aio-support      Include asynchronous io support (default=no)
    1785   --with-sendfile-support Check for sendfile support (default=yes)
     1785  --with-sendfile-support Whether sendfile support should be built in
     1786                          (default=auto)
    17861787  --with-wbclient         Use external wbclient (optional)
    17871788  --with-winbind          Build winbind (default, if supported by OS)
     
    3356833569# check for sendfile support
    3356933570
    33570 with_sendfile_support=yes
    33571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check to support sendfile" >&5
    33572 $as_echo_n "checking whether to check to support sendfile... " >&6; }
     33571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sendfile support should be built in" >&5
     33572$as_echo_n "checking whether sendfile support should be built in... " >&6; }
    3357333573
    3357433574# Check whether --with-sendfile-support was given.
    3357533575if test "${with_sendfile_support+set}" = set; then :
    3357633576  withval=$with_sendfile_support;  case "$withval" in
    33577   yes)
    33578 
     33577  yes|no)
     33578        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     33579$as_echo "$withval" >&6; };
     33580        with_sendfile_support=$withval
     33581        ;;
     33582  *)
    3357933583        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    33580 $as_echo "yes" >&6; };
    33581 
    33582         case "$host_os" in
     33584$as_echo "yes" >&6; }
     33585        with_sendfile_support=auto
     33586        ;;
     33587  esac
     33588fi
     33589
     33590
     33591if test x$with_sendfile_support != xno ; then
     33592    case "$host_os" in
    3358333593        *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
    3358433594                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux sendfile64 support" >&5
     
    3412634136        *)
    3412734137        ;;
    34128         esac
    34129         ;;
    34130   *)
    34131     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    34132 $as_echo "no" >&6; }
    34133     ;;
    34134   esac
    34135 else
    34136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    34137 $as_echo "yes" >&6; }
    34138 
    34139 fi
    34140 
     34138    esac
     34139fi
     34140
     34141if test x$with_sendfile_support = xyes -a x"$samba_cv_HAVE_SENDFILE" != xyes ; then
     34142        as_fn_error $? "sendfile support requested but sendfile not available " "$LINENO" 5
     34143fi
    3414134144
    3414234145############################################
Note: See TracChangeset for help on using the changeset viewer.