From 10c7caab2dd7bee241876e8714c3b970d38c95a5 Mon Sep 17 00:00:00 2001 From: Costa Vitor Date: Mon, 15 Jun 2009 15:00:31 -0500 Subject: [PATCH] old machines may not have isinf --- config.h.in | 2 ++ configure | 6 ++++-- configure.in | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config.h.in b/config.h.in index 51403fa64..7dc78f3c2 100644 --- a/config.h.in +++ b/config.h.in @@ -161,6 +161,7 @@ #undef HAVE_FETESTEXCEPT #undef HAVE_FGETPOS #undef HAVE_FINITE +#undef HAVE_FPCLASS #undef HAVE_FTIME #undef HAVE_GETCWD #undef HAVE_GETENV @@ -174,6 +175,7 @@ #undef HAVE_GETTIMEOFDAY #undef HAVE_GETWD #undef HAVE_ISATTY +#undef HAVE_ISINF #undef HAVE_ISNAN #undef HAVE_KILL #undef HAVE_LABS diff --git a/configure b/configure index 632dfe99c..5bccc0e81 100755 --- a/configure +++ b/configure @@ -14611,7 +14611,8 @@ done -for ac_func in fesettrapenable fgetpos finite ftime getcwd getenv + +for ac_func in fesettrapenable fgetpos finite fpclass ftime getcwd getenv do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -15030,7 +15031,8 @@ done -for ac_func in isatty isnan kill labs link lgamma + +for ac_func in isatty isnan isinf kill labs link lgamma do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 diff --git a/configure.in b/configure.in index 879859653..a9fe7eb77 100644 --- a/configure.in +++ b/configure.in @@ -1401,11 +1401,11 @@ dnl Checks for library functions. AC_TYPE_SIGNAL AC_CHECK_FUNCS(acosh asinh atanh chdir ctime dlopen dup2) AC_CHECK_FUNCS(feclearexcept) -AC_CHECK_FUNCS(fesettrapenable fgetpos finite ftime getcwd getenv) +AC_CHECK_FUNCS(fesettrapenable fgetpos finite fpclass ftime getcwd getenv) AC_CHECK_FUNCS(gethostbyname gethostid gethostname) AC_CHECK_FUNCS(gethrtime getpagesize) AC_CHECK_FUNCS(getpwnam getrusage gettimeofday getwd) -AC_CHECK_FUNCS(isatty isnan kill labs link lgamma) +AC_CHECK_FUNCS(isatty isnan isinf kill labs link lgamma) AC_CHECK_FUNCS(localtime lstat mallinfo) AC_CHECK_FUNCS(mbsnrtowcs) AC_CHECK_FUNCS(memcpy memmove mkstemp mktemp)