X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fisfinite.m4;h=389a23a8bdcdedd00788794885c1e5a97be70120;hb=062cad2d07081f9a60adbb90fc1184a435a1a93f;hp=019eb9590f52503e01be9fcb951cb53d106bfe46;hpb=ecab4471c7da5d367a62c8db75ee54ed6d948e40;p=gnulib.git diff --git a/m4/isfinite.m4 b/m4/isfinite.m4 index 019eb9590..389a23a8b 100644 --- a/m4/isfinite.m4 +++ b/m4/isfinite.m4 @@ -1,5 +1,5 @@ -# isfinite.m4 serial 5 -dnl Copyright (C) 2007-2009 Free Software Foundation, Inc. +# isfinite.m4 serial 6 +dnl Copyright (C) 2007-2010 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. @@ -48,7 +48,7 @@ AC_DEFUN([gl_ISFINITEL_WORKS], AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether isfinite(long double) works], [gl_cv_func_isfinitel_works], [ - AC_TRY_RUN([ + AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include #include @@ -149,7 +149,7 @@ int main () #endif return 0; -}], [gl_cv_func_isfinitel_works=yes], [gl_cv_func_isfinitel_works=no], +}]])], [gl_cv_func_isfinitel_works=yes], [gl_cv_func_isfinitel_works=no], [case "$host_cpu" in # Guess no on ia64, x86_64, i386. ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;