summaryrefslogtreecommitdiff
path: root/config.threads.in
diff options
context:
space:
mode:
authorInternet Software Consortium, Inc <@isc.org>2012-01-18 10:11:16 -0700
committerInternet Software Consortium, Inc <@isc.org>2012-01-18 10:11:16 -0700
commitf8bb4eefd76094703b91acc987d8df0603639376 (patch)
treee2b41a79e5cee716e4c8b9c07c83910509e6ac2e /config.threads.in
parent8b08ed79737eaec2fd64fbecce719fc5d91c0f48 (diff)
downloadbind9-f8bb4eefd76094703b91acc987d8df0603639376.tar.gz
9.9.0rc1
Diffstat (limited to 'config.threads.in')
-rw-r--r--config.threads.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/config.threads.in b/config.threads.in
index aefce013..3dd9ea76 100644
--- a/config.threads.in
+++ b/config.threads.in
@@ -33,8 +33,9 @@ case $host in
*-*-sysv*OpenUNIX*)
# UnixWare
use_threads=true ;;
-*-netbsd[1234].*)
- # NetBSD earlier than NetBSD 5.0 has poor pthreads. Don't use it by default.
+[*-netbsd[1234].*])
+ # NetBSD earlier than NetBSD 5.0 has poor pthreads.
+ # Don't use it by default.
use_threads=false ;;
*-netbsd*)
use_threads=true ;;
@@ -42,11 +43,14 @@ case $host in
# OpenBSD users have reported that named dumps core on
# startup when built with threads.
use_threads=false ;;
-*-freebsd[89].*)
- use_threads=true ;;
-*-freebsd*)
+[*-freebsd[1234567].*])
+ # Threads are broken at least up to FreeBSD 4.11.
+ # FreeBSD 5, 6 and 7 we have never officially supported threads
+ # on. YMMV
use_threads=false ;;
-*-bsdi[234]*)
+*-freebsd*)
+ use_threads=true ;;
+[*-bsdi[234]*])
# Thread signals do not work reliably on some versions of BSD/OS.
use_threads=false ;;
*-bsdi5*)