summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-07-03 09:30:40 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-07-03 09:59:43 +1000
commitf28eb5ecec98b1f6fe9de3933bb1bb718d45929e (patch)
tree3b956f9a7fd5e9246d8328284cf976d8d1c7d660 /configure.ac
parent5d36e8e817cb3501165dd2d1b36d3487fa523eab (diff)
Add -lrt to the libs
Needed for clock_gettime() Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ca31720..3497cb6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,7 @@ PKG_CHECK_MODULES(MTDEV, [mtdev >= 1.1.0])
PKG_CHECK_MODULES(LIBUDEV, [libudev])
PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 0.4])
AC_CHECK_LIB([m], [atan2])
+AC_CHECK_LIB([rt], [clock_gettime])
if test "x$GCC" = "xyes"; then
GCC_CXXFLAGS="-Wall -Wextra -Wno-unused-parameter -g -fvisibility=hidden"