aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 393c2eb..9c8666c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,9 @@ AC_PROG_CC
AC_PROG_INSTALL
+AC_SEARCH_LIBS([clock_gettime],[rt posix4])
+AC_CHECK_FUNCS([clock_gettime])
+
AC_ARG_ENABLE([tests],
[AS_HELP_STRING([--disable-tests], [Compile test programs])],
[case "${enableval}" in