diff options
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9e591c41..b32aa801 100755 --- a/configure.ac +++ b/configure.ac @@ -1320,6 +1320,16 @@ AC_TRY_COMPILE([#include <sys/resource.h> AC_DEFINE(HAVE_RUSAGE,,rusage)], AC_MSG_RESULT(no)) +dnl -------------------------------------- +dnl checking for clock_time monotonic struct and call +dnl -------------------------------------- +AC_CHECK_LIB(rt, clock_gettime, +[AC_DEFINE(HAVE_MONOTONIC_CLOCK,, Have monotonic clock) + LIBS="$LIBS -lrt"] +) + + + dnl ------------------- dnl capabilities checks dnl ------------------- |