From ab60f59ed82e49e9fbb6898c3471a01cb4cee06f Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Sat, 12 Dec 2020 11:56:47 +0100 Subject: [PATCH] Check if clock_gettime needs linking of librt --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 6f49dd88..0a1f430e 100644 --- a/configure.ac +++ b/configure.ac @@ -100,6 +100,7 @@ AC_CHECK_FUNCS([\ ]) AC_SEARCH_LIBS([dlopen], [dl dld]) +AC_SEARCH_LIBS([clock_gettime], [rt]) save_cflags="${CFLAGS}" CFLAGS="${CFLAGS} -std=c99"