X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fisinf.m4;h=145e37e669b39a8f23a5b1b62cb2b81c69ce7f43;hb=208e667b5f8c696e723da34171fbaa6f01246f3b;hp=6a24123500f6c188c5bb2072ead6366ed593266e;hpb=93c5ec22b9dcc15031556d647b5450fa6e645c21;p=gnulib.git diff --git a/m4/isinf.m4 b/m4/isinf.m4 index 6a2412350..145e37e66 100644 --- a/m4/isinf.m4 +++ b/m4/isinf.m4 @@ -1,5 +1,5 @@ -# isinf.m4 serial 3 -dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. +# 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, dnl with or without modifications, as long as this notice is preserved. @@ -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])