]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1532. [port] netbsd: the configure test for <sys/sysctl.h>
authorMark Andrews <marka@isc.org>
Wed, 5 Nov 2003 02:49:04 +0000 (02:49 +0000)
committerMark Andrews <marka@isc.org>
Wed, 5 Nov 2003 02:49:04 +0000 (02:49 +0000)
                        requires <sys/param.h>.

CHANGES
configure.in

diff --git a/CHANGES b/CHANGES
index 1a1613112f7c1933af4d4b1470d3efc36172b18e..a8857ba092961178ec873f848a28de7c162cdfcd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1532.  [port]          netbsd: the configure test for <sys/sysctl.h>
+                       requires <sys/param.h>.
+
 1531.  [port]          AIX more libtool fixes.
 
 1530.  [bug]           It was possible to trigger a INSIST() failure if a
index 37ccb76f2595297bc8897769f528e7c76724d399..c86ecf76312c5ea57c5102943d7de64c8f78d3ff 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.347 $)
+AC_REVISION($Revision: 1.348 $)
 
 AC_INIT(lib/dns/name.c)
 AC_PREREQ(2.13)
@@ -216,7 +216,12 @@ esac
 
 AC_HEADER_STDC
 
-AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/sockio.h sys/select.h sys/sysctl.h net/if6.h)
+AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/sockio.h sys/select.h sys/param.h sys/sysctl.h net/if6.h,,
+[$ac_includes_default
+#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
+])
 
 AC_C_CONST
 AC_C_INLINE