changeset 8895:7955e07faadf

* m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on cross compiles.
author Eric Blake <ebb9@byu.net>
date Tue, 29 May 2007 12:50:20 +0000
parents 3cafa3b8faf9
children bf210ff6d434
files ChangeLog m4/isnanf.m4
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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 @@
     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