<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>On Mac OS X, the 'finite' function is only available with a precise combination of compiler flags, as it's deprecated.&nbsp; Annoyingly, this causes a bug, because it's available with the compiler flags used when running configure; but not available with the compiler flags when using the header files more widely. <br></div><div><br></div><div>As the preferred (and as far as I understand it, standards-compliant) option is to use isfinite, BuildTools/coin.m4 can be patched to check for isfinite before finite.&nbsp; This is harmless at configure time and AFAIK on other platforms, and ensures the correct function is available on Macs from thereon.</div><div><br></div><div>&nbsp;The patch is as follows: <br></div><div><br></div><pre>--- coin.m4     2011-09-03 21:07:59.000000000 +0100
+++ coin.m4.patched     2011-11-10 14:14:54.000000000 +0000
@@ -2294,7 +2294,7 @@
 AC_COIN_CHECK_CXX_CHEADER(ieeefp)
 
 COIN_C_FINITE=
-AC_CHECK_DECL([finite],[COIN_C_FINITE=finite],,[
+AC_CHECK_DECL([isfinite],[COIN_C_FINITE=isfinite],,[
 #ifdef HAVE_CMATH
 # include &lt;cmath&gt;
 #else
@@ -2317,7 +2317,7 @@
 # endif
 #endif])
 if test -z "$COIN_C_FINITE"; then
-  AC_CHECK_DECL([_finite],[COIN_C_FINITE=_finite],,[
+  AC_CHECK_DECL([finite],[COIN_C_FINITE=finite],,[
 #ifdef HAVE_CMATH
 # include &lt;cmath&gt;
 #else
@@ -2340,7 +2340,7 @@
 # endif
 #endif])
   if test -z "$COIN_C_FINITE"; then
-    AC_CHECK_DECL([isfinite],[COIN_C_FINITE=isfinite],,[
+    AC_CHECK_DECL([_finite],[COIN_C_FINITE=_finite],,[
 #ifdef HAVE_CMATH
 # include &lt;cmath&gt;
 #else<br><br><br>Best wishes,<br><br>Andrew<br><br></pre></div></body></html>