rbb         01/01/05 09:19:57

  Modified:    .        configure.in
  Log:
  Some Linux's do not define TCP_CORK.  This allows us to use sendfile on
  those platforms.
  
  Revision  Changes    Path
  1.202     +9 -0      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.201
  retrieving revision 1.202
  diff -u -r1.201 -r1.202
  --- configure.in      2001/01/05 00:10:09     1.201
  +++ configure.in      2001/01/05 17:19:56     1.202
  @@ -796,6 +796,15 @@
   if test "x$ac_cv_define_TCP_CORK" = "xyes"; then
       apr_tcp_nopush_flag="TCP_CORK"
       have_corkable_tcp="1"
  +else
  +    case $OS in
  +        *linux*)
  +            apr_tcp_nopush_flag="3"
  +            have_corkable_tcp="1"
  +            ;;
  +        *)
  +            ;;
  +    esac
   fi
   if test "x$ac_cv_define_TCP_NOPUSH" = "xyes"; then
       apr_tcp_nopush_flag="TCP_NOPUSH"
  
  
  

Reply via email to