summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2013-10-21 06:32:16 +0000
committerLiong Sauw Ming <ming@teluu.com>2013-10-21 06:32:16 +0000
commit674d145645a4f8a8392ec8d76b34256000ebd39c (patch)
treea898eddbeb89e1378c1ddc47a9cfebc8d1c369c7 /aconfigure.ac
parentb27aac7daee03b4c7b033fe19f577e1fcd4d45f9 (diff)
Re #1630 (misc): Thanks to Mark Michelson for the patch
This change makes the check for libm always occur during configuration, and it also tests for the 'sin' function since there are places in the code that require this function. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4623 74dad513-b988-da41-8d7b-12977e46ad98
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 a6d62500..fc7de729 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])
@@ -195,7 +196,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)
])