r12981@catbus: nickm | 2007-05-25 19:23:12 -0400

Always default to "No threads" on net/openbsd in 0.1.2, even with eventdns, since apparently they have had no real testing up to this point, and 0.1.2.x is supposed to be stable.


svn:r10344
This commit is contained in:
Nick Mathewson 2007-05-25 23:23:18 +00:00
parent 9204034cf0
commit 20773596d3
1 changed files with 9 additions and 1 deletions

View File

@ -51,7 +51,15 @@ if test x$enable_threads = x; then
AC_MSG_NOTICE([You are running OpenBSD or NetBSD; I am assuming that
getaddrinfo is not threadsafe here, so I will disable threads.])
enable_threads="no"
fi ;;
else
# This was an inadvertant default up through 0.1.2.14; in 0.2.0.x,
# it's getting some testing, but for now, best leave threads off
# unless the user urns them on.
AC_MSG_NOTICE([You are running OpenBSD or NetBSD; Tor 0.1.2.x hasn't
been tested with threads on these platforms, so I'm turning them off. You
can enable threads by passing --enable-threads to the configure script.])
enable_threads="no"
fi ;;
*-*-solaris* )
# Don't try multithreading on solaris -- cpuworkers seem to lock.
AC_MSG_NOTICE([You are running Solaris; Sometimes threading makes