[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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";;