]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1388. [port] irix: check for sys/sysctl.h and NET_RT_IFLIST before
authorMark Andrews <marka@isc.org>
Tue, 15 Oct 2002 04:32:50 +0000 (04:32 +0000)
committerMark Andrews <marka@isc.org>
Tue, 15 Oct 2002 04:32:50 +0000 (04:32 +0000)
                        defining HAVE_IFLIST_SYSCTL. [RT #3770]

CHANGES
acconfig.h
configure.in

diff --git a/CHANGES b/CHANGES
index 1cf21ac990364b988933b4baef3527c10bd60cfa..f4e9057e1aaf72d9a0b8587a62aa5aa8d8873047 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1388.  [port]          irix: check for sys/sysctl.h and NET_RT_IFLIST before
+                       defining HAVE_IFLIST_SYSCTL. [RT #3770]
+
 1387.  [bug]           named could crash due to an access to invalid memory 
                        space (which caused an assertion failure) in
                        incremental cleaning.  [RT #3588]
index 72c406bb3e36b6e526bb10bb24c403874b5f2415..b04dc0db4d06fd5615b7fd7e9c6c933b37cf3e2a 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: acconfig.h,v 1.37 2002/06/07 00:03:46 marka Exp $ */
+/* $Id: acconfig.h,v 1.38 2002/10/15 04:32:49 marka Exp $ */
 
 /***
  *** This file is not to be included by any public header files, because
@@ -53,7 +53,7 @@
 /* define if catgets() is available */
 #undef HAVE_CATGETS
 
-/* define if you have the NET_RT_IFLIST sysctl variable. */
+/* define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
 #undef HAVE_IFLIST_SYSCTL
 
 /* define if you need to #define _XPG4_2 before including sys/socket.h */
index a38c996abd6d1bd906d8aeae2123013c3653fe47..502ac80b1d37cb27566b26afc00c1313d416a185 100644 (file)
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
 esyscmd([sed "s/^/# /" COPYRIGHT])dnl
 AC_DIVERT_POP()dnl
 
-AC_REVISION($Revision: 1.330 $)
+AC_REVISION($Revision: 1.331 $)
 
 AC_INIT(lib/dns/name.c)
 AC_PREREQ(2.13)
@@ -1484,6 +1484,8 @@ AC_SUBST(ISC_LWRES_GETNAMEINFOPROTO)
 #
 # Look for a sysctl call to get the list of network interfaces.
 #
+case $ac_cv_header_sys_sysctl_h in
+yes)
 AC_MSG_CHECKING(for interface list sysctl)
 AC_EGREP_CPP(found_rt_iflist, [
 #include <sys/param.h>
@@ -1496,6 +1498,8 @@ found_rt_iflist
        [AC_MSG_RESULT(yes)
         AC_DEFINE(HAVE_IFLIST_SYSCTL)],
        [AC_MSG_RESULT(no)])
+;;
+esac
 
 #
 # Check for some other useful functions that are not ever-present.