From 463e83481524213c1c72b06a5494106160dd56ab Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Wed, 30 Jan 2013 15:19:56 -0600 Subject: 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. --- aconfigure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aconfigure.ac') 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) ]) -- cgit v1.2.3