소스 검색

Check the right variable for the right value in order to default netbsd threads to "off". Fixes bug 122.

svn:r4202
Nick Mathewson 20 년 전
부모
커밋
e2749de1bb
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      configure.in

+ 4 - 2
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";;