summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index dde0ea2..93a6c83 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,12 +123,7 @@ if test "$os_unix" = "yes"; then
AC_CHECK_FUNCS([setenv])
AC_CHECK_FUNCS([getpeereid])
AC_CHECK_FUNCS([getpeerucred])
- # If __register_atfork() is not available, we have to link to
- # libpthread so that the non-stub version of pthread_atfork() work
- # FIXME: replace pthread_atfork() uses with manual PID checks
- AC_CHECK_FUNCS([__register_atfork], , [
- AC_CHECK_LIB([pthread], [pthread_atfork])
- ])
+ AC_CHECK_FUNCS([__register_atfork])
AC_CHECK_DECLS([__register_atfork])
# Check if issetugid() is available and has compatible behavior with OpenBSD