summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c879f4d..7bc8e1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,9 @@ dnl checks for required libraries
dnl pthreads
AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -lpthread"])
+dnl libmath (for rtl_fm)
+AC_CHECK_LIB(m, atan2, [LIBS="$LIBS -lm"])
+
# The following test is taken from WebKit's webkit.m4
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden "