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: https://svn.pjsip.org/repos/pjproject/trunk@4623 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
4f27720dc2
commit
113e3eced1
|
@ -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)
|
||||
])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue