From 40cb8a4b045f26d638c95336c37c91e82f662bad Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 29 May 2007 12:50:20 +0000 Subject: [PATCH] * m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on cross compiles. --- ChangeLog | 5 +++++ m4/isnanf.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index dd1319cd9..2f97fc610 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-29 Eric Blake + + * m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on + cross compiles. + 2007-05-28 Eric Blake * modules/closein-tests (test_closein_LDADD): Support test on diff --git a/m4/isnanf.m4 b/m4/isnanf.m4 index d55751302..ea75d951e 100644 --- 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 @@ 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 -- 2.11.0