From c44084453ddd543f555764d2cb14d9e30f261f64 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Sat, 14 Jul 2012 01:58:31 +0300 Subject: Check whether we need to link to -lm for math functions --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 234e27a..cfa77ad 100644 --- a/configure.ac +++ b/configure.ac @@ -11,6 +11,8 @@ dnl Checks for programs. AC_PROG_CXX LT_INIT +AC_CHECK_LIB([m], [sin]) + dnl soname version to use dnl goes by ‘current[:revision[:age]]’ with the soname ending up as dnl current.age.revision -- cgit v1.2.3