Browse Source

Check for pthread dependency on pthread_detach as well as pthread_create

svn:r3651
Nick Mathewson 19 years ago
parent
commit
7d9820e80d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      configure.in

+ 1 - 0
configure.in

@@ -33,6 +33,7 @@ AC_ARG_WITH(ssl-dir,
 AC_SEARCH_LIBS(socket, [socket])
 AC_SEARCH_LIBS(gethostbyname, [nsl])
 AC_SEARCH_LIBS(pthread_create, [pthread])
+AC_SEARCH_LIBS(pthread_detach, [pthread])
 AC_SEARCH_LIBS(event_loop, [event], , AC_MSG_ERROR(Libevent library not found. Tor requires libevent to build.))
 
 saved_LIBS="$LIBS"