apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/build apr_hints.m4 apr_network.m4
Date Tue, 27 Nov 2001 03:50:50 GMT
trawick     01/11/26 19:50:49

  Modified:    build    apr_hints.m4 apr_network.m4
  Log:
  we don't really need langlvl=extended for AIX+xlc, at least with
  this fix to the check for TCP_NODELAY inheritance
  
  Revision  Changes    Path
  1.27      +1 -1      apr/build/apr_hints.m4
  
  Index: apr_hints.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_hints.m4,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- apr_hints.m4	2001/11/21 10:47:23	1.26
  +++ apr_hints.m4	2001/11/27 03:50:49	1.27
  @@ -79,7 +79,7 @@
           dnl Must do a check for gcc or egcs here, to get the right options  
           dnl to the compiler.
           if test "$GCC" != "yes"; then
  -          APR_ADDTO(CFLAGS, [-qHALT=E -qLANGLVL=extended])
  +          APR_ADDTO(CFLAGS, [-qHALT=E])
           fi
   	APR_SETIFNULL(apr_iconv_inbuf_const, [1])
   	APR_ADDTO(CPPFLAGS, [-D_THREAD_SAFE])
  
  
  
  1.10      +5 -2      apr/build/apr_network.m4
  
  Index: apr_network.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_network.m4,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- apr_network.m4	2001/08/29 15:20:23	1.9
  +++ apr_network.m4	2001/11/27 03:50:49	1.10
  @@ -256,12 +256,15 @@
   #ifdef HAVE_NETINET_TCP_H
   #include <netinet/tcp.h>
   #endif
  +#ifndef HAVE_SOCKLEN_T
  +typedef int socklen_t;
  +#endif
   int main(void) {
       int listen_s, connected_s, client_s;
       int listen_port, rc;
       struct sockaddr_in sa;
  -    int sa_len;
  -    int option_len;
  +    socklen_t sa_len;
  +    socklen_t option_len;
       int option;
   
       listen_s = socket(AF_INET, SOCK_STREAM, 0);
  
  
  

Mime
View raw message