add solaris to poorly threading platforms

svn:r4383
This commit is contained in:
Nick Mathewson 2005-06-09 19:53:32 +00:00
parent 0831823763
commit 8753e7ef65

View File

@ -30,6 +30,11 @@ if test x$enable_threads = x; then
AC_MSG_NOTICE([You are running OpenBSD or NetBSD; I am assuming that AC_MSG_NOTICE([You are running OpenBSD or NetBSD; I am assuming that
getaddrinfo is not threadsafe here, so I will disable threads.]) getaddrinfo is not threadsafe here, so I will disable threads.])
enable_threads="no";; enable_threads="no";;
*-*-solaris* )
# Don't try multithreading on solaris -- cpuworkers seem to lock.
AC_MSG_NOTICE([You are running Solaris; Sometimes threading makes
cpu workers lock up here, so I will disable threads.])
enable_threads="no";;
*) *)
enable_threads="yes";; enable_threads="yes";;
esac esac