* m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on
authorEric Blake <ebb9@byu.net>
Tue, 29 May 2007 12:50:20 +0000 (12:50 +0000)
committerEric Blake <ebb9@byu.net>
Tue, 29 May 2007 12:50:20 +0000 (12:50 +0000)
cross compiles.

ChangeLog
m4/isnanf.m4

index dd1319c..2f97fc6 100644 (file)
--- 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
index d557513..ea75d95 100644 (file)
@@ -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