[or-cvs] Check the right variable for the right value in order to de...

Nick Mathewson nickm at seul.org
Sat May 14 00:14:14 UTC 2005


Update of /home/or/cvsroot/tor
In directory moria.mit.edu:/tmp/cvs-serv20768

Modified Files:
	configure.in 
Log Message:
Check the right variable for the right value in order to default netbsd threads to "off". Fixes bug 122.

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -d -r1.190 -r1.191
--- configure.in	10 May 2005 20:02:52 -0000	1.190
+++ configure.in	14 May 2005 00:14:12 -0000	1.191
@@ -23,8 +23,10 @@
      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";;



More information about the tor-commits mailing list