aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-15 12:20:57 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-15 12:20:57 -0400
commit34083f00aba63f00577bf8612e945affc5409270 (patch)
tree4b6b5df5ef9fac6724066e961bef5d170f45bbe5 /configure.ac
parent075fcb599c095d18ba554084b910619a6971cc44 (diff)
parent571cb2f662f1c39eb1069c12164a3dc202afb362 (diff)
downloadtor-34083f00aba63f00577bf8612e945affc5409270.tar.gz
tor-34083f00aba63f00577bf8612e945affc5409270.zip
Merge branch 'maint-0.3.4'
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 02a1655099..446d913793 100644
--- a/configure.ac
+++ b/configure.ac
@@ -563,8 +563,10 @@ if test "$LIBS" != "$saved_LIBS"; then
have_rt=yes
fi
-AC_SEARCH_LIBS(pthread_create, [pthread])
-AC_SEARCH_LIBS(pthread_detach, [pthread])
+if test "$bwin32" = "false"; then
+ AC_SEARCH_LIBS(pthread_create, [pthread])
+ AC_SEARCH_LIBS(pthread_detach, [pthread])
+fi
AM_CONDITIONAL(THREADS_WIN32, test "$bwin32" = "true")
AM_CONDITIONAL(THREADS_PTHREADS, test "$bwin32" = "false")