aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-05-14 00:14:12 +0000
committerNick Mathewson <nickm@torproject.org>2005-05-14 00:14:12 +0000
commite2749de1bb469894d3464468791c812c953db34e (patch)
treee0d2c2f648cdfd9b9bd05373a60b747ccecf86cd /configure.in
parent00f2a09380d650f673f6d9c13107e67b31a71b64 (diff)
downloadtor-e2749de1bb469894d3464468791c812c953db34e.tar
tor-e2749de1bb469894d3464468791c812c953db34e.tar.gz
Check the right variable for the right value in order to default netbsd threads to "off". Fixes bug 122.
svn:r4202
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 0e3eb1f6d..e95cabbb0 100644
--- a/configure.in
+++ b/configure.in
@@ -23,8 +23,10 @@ AC_ARG_ENABLE(threads,
AC_HELP_STRING(--disable-threads, disable multi-threading support))
if test x$enable_threads = x; then
- case $ac_sys_system in
- NetBSD*)
+ case $host in
+ *-*-netbsd*)
+ # Don't try multithreading on netbsd -- there is no threadsafe DNS
+ # lookup function there.
enable_threads="no";;
*)
enable_threads="yes";;