X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fisinf.m4;h=145e37e669b39a8f23a5b1b62cb2b81c69ce7f43;hb=c8228c7d1f864908fd64cd47eefb418e419da549;hp=f6056e61034b9fb57d8600ff7b23a17bc2d98085;hpb=13b89dbfbb8d158de86f9bef5e45889ce47f0fd5;p=gnulib.git diff --git a/m4/isinf.m4 b/m4/isinf.m4 index f6056e610..145e37e66 100644 --- a/m4/isinf.m4 +++ b/m4/isinf.m4 @@ -1,4 +1,4 @@ -# isinf.m4 serial 4 +# isinf.m4 serial 5 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -11,7 +11,7 @@ AC_DEFUN([gl_ISINF], AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS([isinf], , , [#include ]) if test "$ac_cv_have_decl_isinf" = yes; then - gl_CHECK_MATH_LIB([ISINF_LIBM], [x = isinf (x);]) + gl_CHECK_MATH_LIB([ISINF_LIBM], [x = isinf (x) + isinf ((float) x);]) if test "$ISINF_LIBM" != missing; then dnl Test whether isinf() on 'long double' works. gl_ISINFL_WORKS