Re: [Cppunit-devel] Problem with configure isfinite/finite detection
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2007-02-26 20:18:34
|
Hi Baptiste, The configure test for isfinite() is performed by compiling with C++ compiler and linking with -lm. See config/ax_cxx_have_isfinite.m4 for the macro itself, and see config.log for the detailed output. I'm very surprised that it is detected at configure time but the function is not defined at compile time. Can you check carefully config.log and to see whether different compiler options might account for this? The only other thing that comes to mind is that the real code is inside namespace CppUnit, whereas the configure test is not. Do we need to qualify it to ::isfinite()? Puzzled, -Steve |