diff options
author | Ryan Bloom <rbb@apache.org> | 2000-11-11 06:06:00 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-11-11 06:06:00 +0000 |
commit | c1c3267c14e2cef350c091ddc2a3bad5b106b715 (patch) | |
tree | dfb4b49a3c1989002e1b75c0160b55dd88219698 /acinclude.m4 | |
parent | 5ef1c8aa2db9ceb87aefaeb2419469ce5b9f0117 (diff) | |
download | httpd-c1c3267c14e2cef350c091ddc2a3bad5b106b715.tar.gz |
Not all platforms have INADDR_NONE defined by default. Apache used to
check for this and the define it if needed. Since APR also needs this
check it makes more sense for APR to just check and export a symobl that
is always available.
Submitted by: Branko �ibej <brane@xbc.nu>
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86919 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index e4349a4486..63d40ec3aa 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -176,38 +176,6 @@ AC_DEFUN(APACHE_ONCE,[ sinclude(lib/apr/apr_common.m4) sinclude(lib/apr/hints.m4) -dnl -dnl APACHE_INADDR_NONE -dnl -dnl checks for missing INADDR_NONE macro -dnl -AC_DEFUN(APACHE_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 - AC_DEFINE(INADDR_NONE, ((unsigned int) 0xffffffff), [ ]) - fi -]) - AC_DEFUN(APACHE_CHECK_SIGWAIT_ONE_ARG,[ AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[ AC_TRY_COMPILE([ |