From: Bruno Haible <bruno@clisp.org>
Date: Fri, 31 Dec 2010 13:55:09 +0000 (+0100)
Subject: isnand: Fix mistake.
X-Git-Tag: v0.1~3428
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=df7dae24bb4eb1e73f5cb482923348907dbbd0da;p=gnulib.git

isnand: Fix mistake.

* m4/isnand.m4 (gl_HAVE_ISNAND_IN_LIBM): Use __builtin_isnan, not
__builtin_isnand.
---

diff --git a/ChangeLog b/ChangeLog
index 5810281ee2..eebe9416f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-12-31  Bruno Haible  <bruno@clisp.org>
+
+	isnand: Fix mistake.
+	* m4/isnand.m4 (gl_HAVE_ISNAND_IN_LIBM): Use __builtin_isnan, not
+	__builtin_isnand.
+
 2010-12-31  Bruno Haible  <bruno@clisp.org>
 
 	open: Avoid C++ error on HP-UX 11.
diff --git a/m4/isnand.m4 b/m4/isnand.m4
index 31764f72d4..0c19a4ad68 100644
--- a/m4/isnand.m4
+++ b/m4/isnand.m4
@@ -1,4 +1,4 @@
-# isnand.m4 serial 7
+# isnand.m4 serial 8
 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,
@@ -63,7 +63,7 @@ AC_DEFUN([gl_HAVE_ISNAND_IN_LIBM],
            [[#include <math.h>
              #if __GNUC__ >= 4
              # undef isnand
-             # define isnand(x) __builtin_isnand ((double)(x))
+             # define isnand(x) __builtin_isnan ((double)(x))
              #elif defined isnan
              # undef isnand
              # define isnand(x) isnan ((double)(x))