# HG changeset patch # User Eric Blake # Date 1180443020 0 # Node ID 7955e07faadf2cd6561c6549bb9950d3a6475d14 # Parent 3cafa3b8faf9bf8a14ed2a7720453500dbe9245b * m4/isnanf.m4 (gl_FUNC_ISNANF_NO_LIBM): Avoid syntax error on cross compiles. diff --git a/ChangeLog b/ChangeLog --- 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 --- 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 @@ 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