From 995a195f4d41e343781a4da267b960a6d6eab670 Mon Sep 17 00:00:00 2001 From: Kyle Keen Date: Wed, 24 Oct 2012 17:31:22 +0200 Subject: rtl_test: add ppm measurement Use with caution, the result highly depends on the accuracy of the clocksource your machine uses. On some machines it may be quite accurate, on others completely off. Signed-off-by: Steve Markgraf --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7bc8e1d..1b94701 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,9 @@ AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -lpthread"]) dnl libmath (for rtl_fm) AC_CHECK_LIB(m, atan2, [LIBS="$LIBS -lm"]) +dnl librealtime (for rtl_test) +AC_CHECK_LIB(rt, clock_gettime, [LIBS="$LIBS"]) + # The following test is taken from WebKit's webkit.m4 saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden " -- cgit v1.3.1