1388. [port] irix: check for sys/sysctl.h and NET_RT_IFLIST before
defining HAVE_IFLIST_SYSCTL. [RT #3770]
This commit is contained in:
3
CHANGES
3
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]
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user