diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2003-09-02 08:42:56 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2003-09-02 08:42:56 +0000 |
commit | 149a9f0623d2fd48146fa8868b69c0f633c82fbd (patch) | |
tree | 475cc7a65b1d13a36587f8a1bc98ce2cacef046a /build | |
parent | c8173f9c12339334adbc573be9438c4efcdf9d20 (diff) | |
download | libapr-149a9f0623d2fd48146fa8868b69c0f633c82fbd.tar.gz |
Remove APR_CHECK_SOCKADDR_SA_LEN which survived since the first
addition of IPv6 support to APR without its result being used.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64602 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r-- | build/apr_network.m4 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/build/apr_network.m4 b/build/apr_network.m4 index 745b9a971..f37e25c0d 100644 --- a/build/apr_network.m4 +++ b/build/apr_network.m4 @@ -632,37 +632,6 @@ else 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 |