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

[or-cvs] Disable threads on openbsd too.



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

Modified Files:
	configure.in 
Log Message:
Disable threads on openbsd too.

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.208
retrieving revision 1.209
diff -u -d -r1.208 -r1.209
--- configure.in	18 May 2005 04:01:49 -0000	1.208
+++ configure.in	19 May 2005 05:07:00 -0000	1.209
@@ -24,9 +24,11 @@
 
 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";;