summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2013-01-30 15:19:56 -0600
committerJason Parker <jparker@digium.com>2013-03-11 15:16:37 -0500
commit463e83481524213c1c72b06a5494106160dd56ab (patch)
tree33cf9a4f0ddd84516e45a725c88630167f8f811c /aconfigure.ac
parent483805f79570115ab95c69698792d238c1719b1b (diff)
Search for libm regardless of configure flags.
Also switch to checking for sin(), since that's what's needed elsewhere. There are places in the code that require sin() from libm.
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 9afce8d..642b6a6 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -120,6 +120,7 @@ AC_CHECK_LIB(winmm,puts)
AC_CHECK_LIB(socket,puts)
AC_CHECK_LIB(rt,puts)
AC_CHECK_LIB(nsl,puts)
+AC_CHECK_LIB(m,sin)
AC_CHECK_LIB(uuid,uuid_generate)
AC_CHECK_LIB(uuid,uuid_generate,[ac_has_uuid_lib=1])
@@ -192,7 +193,6 @@ AC_ARG_ENABLE(floating-point,
[
AC_DEFINE(PJ_HAS_FLOATING_POINT,1)
AC_MSG_RESULT([Checking if floating point is disabled... no])
- AC_CHECK_LIB(m,fmod)
])