diff --git a/configure.ac b/configure.ac index 449128a..9e6a77d 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,7 @@ dnl malloc_trim function AC_CHECK_FUNCS([malloc_trim]) dnl clock_gettime function(osx) +AC_SEARCH_LIBS([clock_gettime],[rt posix4]) AC_CHECK_FUNCS([clock_gettime]) dnl ----------------------------------------------