apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/build apr_network.m4
Date Tue, 02 Sep 2003 08:42:56 GMT
jorton      2003/09/02 01:42:56

  Modified:    .        configure.in
               build    apr_network.m4
  Log:
  Remove APR_CHECK_SOCKADDR_SA_LEN which survived since the first
  addition of IPv6 support to APR without its result being used.
  
  Revision  Changes    Path
  1.535     +0 -2      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.534
  retrieving revision 1.535
  diff -u -u -r1.534 -r1.535
  --- configure.in	31 Aug 2003 16:28:54 -0000	1.534
  +++ configure.in	2 Sep 2003 08:42:54 -0000	1.535
  @@ -1729,8 +1729,6 @@
   AC_SUBST(have_in_addr)
   AC_SUBST(file_as_socket)
   
  -APR_CHECK_SOCKADDR_SA_LEN
  -
   # Check the types only if we have gethostbyname_r
   if test "$ac_cv_func_gethostbyname_r" = "yes"; then
       APR_CHECK_GETHOSTBYNAME_R_STYLE
  
  
  
  1.23      +0 -31     apr/build/apr_network.m4
  
  Index: apr_network.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_network.m4,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -u -r1.22 -r1.23
  --- apr_network.m4	2 Sep 2003 08:17:01 -0000	1.22
  +++ apr_network.m4	2 Sep 2003 08:42:56 -0000	1.23
  @@ -632,37 +632,6 @@
   fi
   ])
   
  -
  -dnl
  -dnl Check to see if this platform includes sa_len in it's
  -dnl struct sockaddr.  If it does it changes the length of sa_family
  -dnl which could cause us problems
  -dnl
  -AC_DEFUN(APR_CHECK_SOCKADDR_SA_LEN,[
  -AC_CACHE_CHECK(for sockaddr sa_len, ac_cv_define_sockaddr_sa_len,[
  -AC_TRY_COMPILE([
  -#ifdef HAVE_SYS_TYPES_H
  -#include <sys/types.h>
  -#endif
  -#ifdef HAVE_NETINET_IN_H
  -#include <netinet/in.h>
  -#endif
  -],[
  -struct sockaddr_in sai;
  -int i = sai.sin_len;
  -],[
  -  ac_cv_define_sockaddr_sa_len=yes
  -],[
  -  ac_cv_define_sockaddr_sa_len=no
  -])
  -])
  -
  -if test "$ac_cv_define_sockaddr_sa_len" = "yes"; then
  -  AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1 ,[Define if we have length field in sockaddr_in])
  -fi
  -])
  -
  -
   dnl
   dnl APR_INADDR_NONE
   dnl
  
  
  

Mime
View raw message