From f8feb953c6d86bee12747679e5e4dac7795a65d0 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Mon, 25 Apr 2016 13:43:28 +0200 Subject: configure.ac: Added -lrt as to LDFLAGS. -lrt is needed when using 'clock_time' with glibc < 2.17. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 92f2a81..f44226a 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,7 @@ dnl =========================== AC_LANG_PUSH([C++]) TMP_CXXFLAGS="$CXXFLAGS" CXXFLAGS=-std=c++11 +LDFLAGS=-lrt AC_MSG_CHECKING([whether CXX supports -std=c++11]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], [AC_MSG_RESULT([yes])], -- cgit v1.2.3