summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-15 12:20:53 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-15 12:20:53 -0400
commit4c355ff18544783a5a283f7660bcdca6cf93062b (patch)
tree7dd791bc3ee27888ac605bde70d7c13c6e21f8bc /configure.ac
parentfe19b40fe9e2f78caf6f58bb3cc627a6fbb0e2c5 (diff)
parent7a570b818246ca8c8efe4b7de116804f6ebddd91 (diff)
downloadtor-4c355ff18544783a5a283f7660bcdca6cf93062b.tar.gz
tor-4c355ff18544783a5a283f7660bcdca6cf93062b.zip
Merge remote-tracking branch 'github/bug27081_029' into maint-0.2.9
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 d700329925..76b3f423ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -370,8 +370,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")