summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/configure.in
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2003-11-18 14:14:09 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2003-11-18 14:14:09 +0000
commita3684c7a7fae3c0a0ad3d9641d29affc2b8aed03 (patch)
treebd1bf1ed050890b02d624a1468c39c2822f5ce45 /usr.sbin/bind/configure.in
parent2177e8980dbcbd0b8006b290bb9de8e8565df3ba (diff)
update to BIND v9.2.3. ok todd@
Diffstat (limited to 'usr.sbin/bind/configure.in')
-rw-r--r--usr.sbin/bind/configure.in17
1 files changed, 13 insertions, 4 deletions
diff --git a/usr.sbin/bind/configure.in b/usr.sbin/bind/configure.in
index c95b48b5de2..943ef434fbb 100644
--- a/usr.sbin/bind/configure.in
+++ b/usr.sbin/bind/configure.in
@@ -13,7 +13,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-AC_REVISION($Revision: 1.6 $)
+AC_REVISION($Revision: 1.7 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
@@ -455,7 +455,7 @@ case "$use_randomdev" in
unspec)
case "$host" in
*-openbsd*)
- devrandom=/dev/srandom
+ devrandom=/dev/arandom
;;
*)
devrandom=/dev/random
@@ -525,9 +525,11 @@ case $host in
use_threads=false ;;
*-freebsd*)
use_threads=false ;;
-*-bsdi*)
- # Thread signals do not appear to work reliably on BSDI.
+*-bsdi[234]*)
+ # Thread signals do not work reliably on some versions of BSD/OS.
use_threads=false ;;
+*-bsdi5*)
+ use_threads=true ;;
*-linux*)
# Threads are disabled on Linux by default because most
# Linux kernels produce unusable core dumps from multithreaded
@@ -636,6 +638,9 @@ then
AC_CHECK_FUNC(pthread_attr_getstacksize,
AC_DEFINE(HAVE_PTHREAD_ATTR_GETSTACKSIZE),)
+ AC_CHECK_FUNC(pthread_attr_setstacksize,
+ AC_DEFINE(HAVE_PTHREAD_ATTR_SETSTACKSIZE),)
+
#
# Additional OS-specific issues related to pthreads and sigwait.
#
@@ -1404,6 +1409,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>
@@ -1416,6 +1423,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.