X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fisinf.m4;h=145e37e669b39a8f23a5b1b62cb2b81c69ce7f43;hb=208e667b5f8c696e723da34171fbaa6f01246f3b;hp=ab3cf9e6fdcc904acdf3bff90b153d9391f345eb;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/m4/isinf.m4 b/m4/isinf.m4 index ab3cf9e6f..145e37e66 100644 --- a/m4/isinf.m4 +++ b/m4/isinf.m4 @@ -1,4 +1,4 @@ -# isinf.m4 serial 3 +# 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 @@ -24,7 +24,7 @@ AC_DEFUN([gl_ISINF], if test "$ac_cv_have_decl_isinf" != yes || test "$ISINF_LIBM" = missing; then REPLACE_ISINF=1 - AC_LIBOBJ([isinf]) + dnl No libraries are needed to link lib/isinf.c. ISINF_LIBM= fi AC_SUBST([ISINF_LIBM])