From 674d145645a4f8a8392ec8d76b34256000ebd39c Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Mon, 21 Oct 2013 06:32:16 +0000 Subject: 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 --- aconfigure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aconfigure.ac') 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) ]) -- cgit v1.2.3