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

svn:r4202
This commit is contained in:
Nick Mathewson 2005-05-14 00:14:12 +00:00
parent 00f2a09380
commit e2749de1bb

View File

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