diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2003-10-01 13:19:43 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2003-10-01 13:19:43 +0000 |
commit | f7c3495113e1fc11070ee914c115c604fc1a1421 (patch) | |
tree | 201c8e4021d44ea9420b4daf69e54e10698fee43 /build/apr_network.m4 | |
parent | a093f0bd720d1ff2596b8fff747bac845e7b154b (diff) | |
download | libapr-f7c3495113e1fc11070ee914c115c604fc1a1421.tar.gz |
* configure.in, build/apr_network.m4: Remove APR_INADDR_NONE
macro.
* include/apr.hw, include/apr.hnw, include/apr.h.in: Don't
define APR_INADDR_NONE here.
* include/apr_network_io.h: Define APR_INADDR_NONE here.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64671 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/apr_network.m4')
-rw-r--r-- | build/apr_network.m4 | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/build/apr_network.m4 b/build/apr_network.m4 index 3eeb889d0..9ce9aa6de 100644 --- a/build/apr_network.m4 +++ b/build/apr_network.m4 @@ -689,41 +689,6 @@ fi ]) dnl -dnl APR_INADDR_NONE -dnl -dnl checks for missing INADDR_NONE macro -dnl -AC_DEFUN(APR_INADDR_NONE,[ - AC_CACHE_CHECK(whether system defines INADDR_NONE, ac_cv_inaddr_none,[ - AC_TRY_COMPILE([ -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif -#ifdef HAVE_SYS_SOCKET_H -#include <sys/socket.h> -#endif -#ifdef HAVE_NETINET_IN_H -#include <netinet/in.h> -#endif -#ifdef HAVE_ARPA_INET_H -#include <arpa/inet.h> -#endif -],[ -unsigned long foo = INADDR_NONE; -],[ - ac_cv_inaddr_none=yes -],[ - ac_cv_inaddr_none=no -])]) - if test "$ac_cv_inaddr_none" = "no"; then - apr_inaddr_none="((unsigned int) 0xffffffff)" - else - apr_inaddr_none="INADDR_NONE" - fi -]) - - -dnl dnl APR_H_ERRNO_COMPILE_CHECK dnl AC_DEFUN(APR_H_ERRNO_COMPILE_CHECK,[ |