Add check for finite(). Solaris doesn't have isinf, but it has finite...go
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 21 Jul 2004 03:30:27 +0000 (03:30 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 21 Jul 2004 03:30:27 +0000 (03:30 +0000)
figure!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15057 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/acinclude.m4

index a157839f2224f0b7792e632b37ad0f31e8c7496d..3925d66471a9877cfdfa48e717f81a315c5f13c3 100644 (file)
@@ -6295,4 +6295,8 @@ AC_SINGLE_CXX_CHECK([HAVE_STD_ISINF_IN_CMATH], [ac_cv_func_std_isinf_in_cmath],
                     [std::isinf], [<cmath>],
                     [#include <cmath>
                      using std::isinf; int foo(float f) {return isinf(f);}])
+AC_SINGLE_CXX_CHECK([HAVE_FINITE_IN_IEEEFP_H], [ac_cv_func_finite_in_ieeefp_h],
+                    [finite], [<ieeefp.h>],
+                    [#include <ieeefp.h>
+                     int foo(float f) {return finite(f);}])
 ])