summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2012-07-14 01:58:31 +0300
committerMartin Storsjo <martin@martin.st>2012-07-14 01:58:51 +0300
commitc44084453ddd543f555764d2cb14d9e30f261f64 (patch)
tree69b3cfda7d8d1d81dc3ec3e593b7a61f789baf51 /configure.ac
parentbb34df82cffaefc97de8dccaad3a2ca7f0f93413 (diff)
downloadODR-AudioEnc-c44084453ddd543f555764d2cb14d9e30f261f64.tar.gz
ODR-AudioEnc-c44084453ddd543f555764d2cb14d9e30f261f64.tar.bz2
ODR-AudioEnc-c44084453ddd543f555764d2cb14d9e30f261f64.zip
Check whether we need to link to -lm for math functions
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
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