Fix last patch for real.
authorBruno Haible <bruno@clisp.org>
Tue, 29 May 2007 22:56:54 +0000 (22:56 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 29 May 2007 22:56:54 +0000 (22:56 +0000)
ChangeLog
m4/isnanf.m4

index 2f97fc6..01766c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
 2007-05-29  Eric Blake  <ebb9@byu.net>
+            Bruno Haible  <bruno@clisp.org>
 
        * m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on
        cross compiles.
index ea75d95..99f2b2e 100644 (file)
@@ -13,7 +13,11 @@ 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
+     && { case "$gl_cv_func_isnanf_works" in
+            *yes) true;;
+            *) false;;
+          esac
+        }; then
     AC_DEFINE([HAVE_ISNANF_IN_LIBC], 1,
       [Define if the isnan(float) function is available in libc.])
   else