summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-05-19 05:07:00 +0000
committerNick Mathewson <nickm@torproject.org>2005-05-19 05:07:00 +0000
commit7cc070a0775eef1202a9114aebd697c2688e6cca (patch)
treeccafbcab73ef9c1cc09e9df6b72389c8f380005f
parent208dc969b3218e710bdad34902d99fd5d145d5f5 (diff)
downloadtor-7cc070a0775eef1202a9114aebd697c2688e6cca.tar.gz
tor-7cc070a0775eef1202a9114aebd697c2688e6cca.zip
Disable threads on openbsd too.
svn:r4268
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 48242a419f..345bcd70c5 100644
--- a/configure.in
+++ b/configure.in
@@ -24,9 +24,11 @@ AC_ARG_ENABLE(threads,
if test x$enable_threads = x; then
case $host in
- *-*-netbsd*)
+ *-*-netbsd* | *-*-openbsd* )
# Don't try multithreading on netbsd -- there is no threadsafe DNS
# lookup function there.
+ 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";;
*)
enable_threads="yes";;