From: Rafael L. <lab...@ps...> - 2003-03-24 22:51:56
|
* João Cardoso <jc...@fe...> [2003-03-24 20:11]: > AC_CHECK_FUNC(isnan, ... > or > AC_CHECK_FUNCS(isnan isinf finite) > > fails to detect isnan,... under OSF, as these functions are in libm and > configure don't add -lm to the compile command. > isnan() and finite() are declared in math.h in this system. > > Is there a fast cure for this? Yes, just put: AC_CHECK_LIB(m, sin) Just before the AC_CHECK_FUNC[S] above. (Not fully tested.) -- Rafael |