apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sas...@apache.org
Subject cvs commit: apr configure.in
Date Fri, 05 Jan 2001 22:33:08 GMT
sascha      01/01/05 14:33:08

  Modified:    .        configure.in
  Log:
  Proper TCP_SOCK in <linux/socket.h> check.
  
  Revision  Changes    Path
  1.205     +7 -2      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.204
  retrieving revision 1.205
  diff -u -u -r1.204 -r1.205
  --- configure.in	2001/01/05 21:22:19	1.204
  +++ configure.in	2001/01/05 22:33:08	1.205
  @@ -799,10 +799,15 @@
   else
       case $OS in
           *linux*)
  -            if test "x$sendfile" = "x1"; then
  +            AC_EGREP_CPP(yes,[
  +                #include <linux/socket.h>
  +                #ifdef TCP_CORK
  +                yes
  +                #endif
  +            ],[
                   apr_tcp_nopush_flag="3"
                   have_corkable_tcp="1"
  -            fi
  +            ])
               ;;
           *)
               ;;
  
  
  

Mime
View raw message