Diff of /m4/R.m4 [d81896] .. [46540d]  Maximize  Restore

Switch to side-by-side view

--- a/m4/R.m4
+++ b/m4/R.m4
@@ -1586,15 +1586,12 @@
 ## ----------
 ## According to C99, isnan and isfinite are macros in math.h, 
 ## but some older systems have isnan as a function (possibly as well).
-## On the other hand, finite is a BSD function.
 AC_DEFUN([R_IEEE_754],
-[AC_CHECK_FUNCS([finite isnan])
+[AC_CHECK_FUNCS([isnan])
 AC_CHECK_DECLS([isfinite, isnan], , , [#include <math.h>])
 AC_CACHE_CHECK([whether you have IEEE 754 floating-point arithmetic],
                [r_cv_ieee_754],
-[if (test "${ac_cv_func_finite}" = yes \
-      || test "${ac_cv_have_decl_isfinite}" = yes) \
-    && (test "${ac_cv_func_isnan}" = yes \
+[if (test "${ac_cv_func_isnan}" = yes \
       || test "${ac_cv_have_decl_isnan}" = yes); then
   r_cv_ieee_754=yes
 else

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks