apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr configure.in
Date Fri, 05 Jan 2001 21:22:21 GMT
rbb         01/01/05 13:22:20

  Modified:    .        configure.in
  Log:
  Simplify the logic for TCP cork on Linux.  Basically, instead of grepping
  through the system header files, trying to find TCP_CORK, we just check
  if sendfile was found.  If so, but we couldn't find TCP_CORK, we define
  it ourselves.  This is the same logic that the C files used to use, so it
  should be much more stable.
  Submitted by:	Jeff Trawick <trawickj@bellsouth.net>
  
  Revision  Changes    Path
  1.204     +4 -4      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.203
  retrieving revision 1.204
  diff -u -r1.203 -r1.204
  --- configure.in	2001/01/05 19:11:11	1.203
  +++ configure.in	2001/01/05 21:22:19	1.204
  @@ -799,10 +799,10 @@
   else
       case $OS in
           *linux*)
  -            AC_EGREP_HEADER(TCP_CORK, linux/socket.h, [
  -            apr_tcp_nopush_flag="3"
  -            have_corkable_tcp="1"
  -            ])
  +            if test "x$sendfile" = "x1"; then
  +                apr_tcp_nopush_flag="3"
  +                have_corkable_tcp="1"
  +            fi
               ;;
           *)
               ;;
  
  
  

Mime
View raw message