summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-01-26 15:17:58 +0100
committerBruno Haible <bruno@clisp.org>2008-01-26 15:17:58 +0100
commitb17d7ac7df62c7c7f56fe857ed28151d8b0e4e28 (patch)
treee475661f13bd1c4d0e9aa603f244ecdb967d870f /m4
parentce8675631414567e50a77fdd43196f5882172ca7 (diff)
downloadgnulib-b17d7ac7df62c7c7f56fe857ed28151d8b0e4e28.tar.gz
Rename isnan, applicable to 'double' only, to isnand.
Diffstat (limited to 'm4')
-rw-r--r--m4/isnand.m4 (renamed from m4/isnan.m4)20
1 files changed, 10 insertions, 10 deletions
diff --git a/m4/isnan.m4 b/m4/isnand.m4
index de692e69a8..4f747eae0d 100644
--- a/m4/isnan.m4
+++ b/m4/isnand.m4
@@ -1,27 +1,27 @@
-# isnan.m4 serial 2
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# isnand.m4 serial 1
+dnl Copyright (C) 2007-2008 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.
-dnl Check how to get or define isnan() without linking with libm.
+dnl Check how to get or define isnand() without linking with libm.
-AC_DEFUN([gl_FUNC_ISNAN_NO_LIBM],
+AC_DEFUN([gl_FUNC_ISNAND_NO_LIBM],
[
AC_CACHE_CHECK([whether isnan(double) can be used without linking with libm],
- [gl_cv_func_isnan_no_libm],
+ [gl_cv_func_isnand_no_libm],
[
AC_TRY_LINK([#include <math.h>
double x;],
[return isnan (x);],
- [gl_cv_func_isnan_no_libm=yes],
- [gl_cv_func_isnan_no_libm=no])
+ [gl_cv_func_isnand_no_libm=yes],
+ [gl_cv_func_isnand_no_libm=no])
])
- if test $gl_cv_func_isnan_no_libm = yes; then
- AC_DEFINE([HAVE_ISNAN_IN_LIBC], 1,
+ if test $gl_cv_func_isnand_no_libm = yes; then
+ AC_DEFINE([HAVE_ISNAND_IN_LIBC], 1,
[Define if the isnan(double) function is available in libc.])
else
- AC_LIBOBJ([isnan])
+ AC_LIBOBJ([isnand])
gl_DOUBLE_EXPONENT_LOCATION
fi
])