changeset 8896:bf210ff6d434

Fix last patch for real.
author Bruno Haible <bruno@clisp.org>
date Tue, 29 May 2007 22:56:54 +0000
parents 7955e07faadf
children f4dea723fc93
files ChangeLog m4/isnanf.m4
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/m4/isnanf.m4
+++ b/m4/isnanf.m4
@@ -13,7 +13,11 @@
     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