]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3243. [port] freebsd,netbsd,bsdi: the thread defaults were not
authorMark Andrews <marka@isc.org>
Thu, 15 Dec 2011 23:53:35 +0000 (23:53 +0000)
committerMark Andrews <marka@isc.org>
Thu, 15 Dec 2011 23:53:35 +0000 (23:53 +0000)
                        being properly set.

CHANGES
config.threads.in

diff --git a/CHANGES b/CHANGES
index ac8b0d6f5560c968b93266d1499f8f2efa7aa3c7..c40093a1e55e02cf8fe3a43c96110daf04513e56 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3243.  [port]          freebsd,netbsd,bsdi: the thread defaults were not
+                       being properly set.
+
 3242.  [func]          Extended the header of raw-format master files to
                        include the serial number of the zone from which
                        they were generated, if different (as in the case
index aefce013776986ce24f1e5f69bdca3ced6959f29..3dd9ea761c85a9d355e93d1f10cbd5bdbf25b130 100644 (file)
@@ -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*)