From 145134422125d62d7c58326518862aff9a854b97 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 27 Jan 2014 14:59:09 +0100 Subject: [PATCH] configure.ac: check if -lrt is necessary for clock_gettime() --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 42bf9898d..41f9845fb 100644 --- a/configure.ac +++ b/configure.ac @@ -159,6 +159,8 @@ dnl --------------------------------------------------------------------------- dnl Header/Library Checks dnl --------------------------------------------------------------------------- +AC_SEARCH_LIBS([clock_gettime], [rt]) + AC_SEARCH_LIBS([syslog], [bsd socket inet], [AC_DEFINE(HAVE_SYSLOG, 1, [Define if syslog() is available])])