diff --git a/CHANGES b/CHANGES index ac8b0d6f55..c40093a1e5 100644 --- 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 diff --git a/config.threads.in b/config.threads.in index aefce01377..3dd9ea761c 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*)