222 |
HAVE_IEEEFP=0 AC_MSG_RESULT(no),HAVE_IEEEFP=0 AC_MSG_RESULT(no)) |
HAVE_IEEEFP=0 AC_MSG_RESULT(no),HAVE_IEEEFP=0 AC_MSG_RESULT(no)) |
223 |
,HAVE_ISNORMAL=0 AC_MSG_RESULT(no),HAVE_ISNORMAL=0 AC_MSG_RESULT(no)) |
,HAVE_ISNORMAL=0 AC_MSG_RESULT(no),HAVE_ISNORMAL=0 AC_MSG_RESULT(no)) |
224 |
|
|
225 |
|
AC_MSG_CHECKING([for isfinite]) |
226 |
|
AC_TRY_RUN([#define _GNU_SOURCE |
227 |
|
#include <math.h> |
228 |
|
int main() { |
229 |
|
float f; |
230 |
|
return isfinite(f) || !isfinite(f) ? 0 : 1; |
231 |
|
}], |
232 |
|
AC_DEFINE(HAVE_ISFINITE) AC_MSG_RESULT(yes), |
233 |
|
AC_MSG_CHECKING([for finite()]) |
234 |
|
AC_TRY_RUN([#include <math.h> |
235 |
|
int main() { |
236 |
|
float f; |
237 |
|
return finite(f) || !finite(f) ? 0 : 1; |
238 |
|
}], |
239 |
|
AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes), |
240 |
|
HAVE_FINITE=0 AC_MSG_RESULT(no),HAVE_FINITE=0 AC_MSG_RESULT(no)) |
241 |
|
,HAVE_ISFINITE=0 AC_MSG_RESULT(no),HAVE_ISFINITE=0 AC_MSG_RESULT(no)) |
242 |
|
|
243 |
|
|
244 |
|
|
245 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |