Check for pthread dependency on pthread_detach as well as pthread_create

svn:r3651
This commit is contained in:
Nick Mathewson 2005-02-22 05:07:31 +00:00
parent bb53a0bddd
commit 7d9820e80d

View File

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