diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index af38fa5e29..eef6c9fefc 100644 --- a/configure.ac +++ b/configure.ac @@ -149,6 +149,8 @@ dnl Check clock_gettime and pthread_mutex_lock in libc (avoid linking to other l AC_CHECK_FUNCS([fork inet_ntop inet_pton getrusage getpwuid_r nanosleep daemon getpid clock_gettime iconv localtime vasprintf],,) AM_CONDITIONAL(HAVE_FORK, test "$ac_cv_func_fork" != "no") +AC_CHECK_FUNCS([pthread_atfork __register_atfork],,) + AC_LIB_HAVE_LINKFLAGS(rt,, [#include <time.h> #include <signal.h> ], [timer_create (0,0,0);]) |