From: Bruno Haible Date: Sun, 1 Apr 2012 17:31:01 +0000 (+0200) Subject: logf-ieee: Fix test whether logf works. X-Git-Tag: v0.1~777 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=613308e52eeb58335fc828b2e7229b066ded34c9;p=gnulib.git logf-ieee: Fix test whether logf works. * m4/logf.m4 (gl_FUNC_LOGF): Fix typo in test program. --- diff --git a/ChangeLog b/ChangeLog index 3d8f7a308..3205f7cec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2012-04-01 Bruno Haible + logf-ieee: Fix test whether logf works. + * m4/logf.m4 (gl_FUNC_LOGF): Fix typo in test program. + +2012-04-01 Bruno Haible + log10l: Work around log10l-ieee test failure on IRIX 6.5. * lib/log10l.c: Include (log10l): On IRIX, normalize the +Infinity value. diff --git a/m4/logf.m4 b/m4/logf.m4 index 3d000c0e2..231603c4f 100644 --- a/m4/logf.m4 +++ b/m4/logf.m4 @@ -1,4 +1,4 @@ -# logf.m4 serial 4 +# logf.m4 serial 5 dnl Copyright (C) 2011-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -55,7 +55,7 @@ numeric_equal (float x, float y) static float dummy (float x) { return 0; } int main (int argc, char *argv[]) { - float (*my_log) (float) = argc ? logf : dummy; + float (*my_logf) (float) = argc ? logf : dummy; /* Test logf(negative). This test fails on NetBSD 5.1. */ float y = my_logf (-1.0f);