From: Bruno Haible Date: Tue, 29 May 2007 22:56:54 +0000 (+0000) Subject: Fix last patch for real. X-Git-Tag: cvs-readonly~322 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=63f686a80e5c220144a0ad052ef4cd81768e5bbf;p=gnulib.git Fix last patch for real. --- diff --git a/ChangeLog b/ChangeLog index 2f97fc610..01766c425 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2007-05-29 Eric Blake + Bruno Haible * m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on cross compiles. diff --git a/m4/isnanf.m4 b/m4/isnanf.m4 index ea75d951e..99f2b2edd 100644 --- a/m4/isnanf.m4 +++ b/m4/isnanf.m4 @@ -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