summaryrefslogtreecommitdiffstats
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 46a725e..d0c8201 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,9 @@ AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT8_T
+# Check if clock_gettime requires -lrt (old GNU systems)
+AC_SEARCH_LIBS([clock_gettime],[rt posix4])
+
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC