On Thursday, March 04, 2004, at 09:53AM, Andrew Ross <andrewross@...> wrote:
>On Thu, Mar 04, 2004 at 08:24:30AM +0000, Andrew Ross wrote:
>
>OK. A quick google search shows this to be a known bug in the cmath
>header file on Mac OSX. I'll try and write a configure check to work
>around it.
>
Andrew, Koen:
I dug up this check I wrote back then:
| due to a broken <cmath>, the following testcase should detect it:
| AC_TRY_COMPILE([#include <cmath>], [isnan(1.0);],
| [AC_MSG_RESULT("Pass")], [AC_MSG_RESULT("Fail")])
| Just to check, I tried
| AC_TRY_COMPILE([#include <math.h>], [isnan(1.0);],
| [AC_MSG_RESULT("Pass")], [AC_MSG_RESULT("Fail")])
| which does pass as expected.
maybe it can be of some help.
/Per
|