3243. [port] freebsd,netbsd,bsdi: the thread defaults were not

being properly set.
This commit is contained in:
Mark Andrews
2011-12-15 23:53:35 +00:00
parent 646d764082
commit 9ca4e2411c
2 changed files with 13 additions and 6 deletions

View 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*)