1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Add check for finite(). Solaris doesn't have isinf, but it has finite...go

figure!

llvm-svn: 15057
This commit is contained in:
Brian Gaeke 2004-07-21 03:30:27 +00:00
parent d8775ad4f1
commit 853c525672

View 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);}])
])