From: Eric Blake <ebb9@byu.net>
Date: Tue, 29 May 2007 12:50:20 +0000 (+0000)
Subject: * m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on
X-Git-Tag: cvs-readonly~323
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=40cb8a4b045f26d638c95336c37c91e82f662bad;p=gnulib.git

* m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on
cross compiles.
---

diff --git a/ChangeLog b/ChangeLog
index dd1319cd9a..2f97fc610f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-29  Eric Blake  <ebb9@byu.net>
+
+	* m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on
+	cross compiles.
+
 2007-05-28  Eric Blake  <ebb9@byu.net>
 
 	* modules/closein-tests (test_closein_LDADD): Support test on
diff --git a/m4/isnanf.m4 b/m4/isnanf.m4
index d557513029..ea75d951e0 100644
--- a/m4/isnanf.m4
+++ b/m4/isnanf.m4
@@ -1,4 +1,4 @@
-# isnanf.m4 serial 2
+# isnanf.m4 serial 3
 dnl Copyright (C) 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -13,7 +13,7 @@ AC_DEFUN([gl_FUNC_ISNANF_NO_LIBM],
     gl_ISNANF_WORKS
   fi
   if test $gl_cv_func_isnanf_no_libm = yes \
-     && test $gl_cv_func_isnanf_works = yes; then
+     && test "$gl_cv_func_isnanf_works" = yes; then
     AC_DEFINE([HAVE_ISNANF_IN_LIBC], 1,
       [Define if the isnan(float) function is available in libc.])
   else