Mercurial > hg > octave-lojdl > gnulib-hg
changeset 16749:2c1499f688aa
logf-ieee: Fix test whether logf works.
* m4/logf.m4 (gl_FUNC_LOGF): Fix typo in test program.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 01 Apr 2012 19:31:01 +0200 |
parents | c023d893c23f |
children | 8b54ed378c86 |
files | ChangeLog m4/logf.m4 |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-04-01 Bruno Haible <bruno@clisp.org> + + logf-ieee: Fix test whether logf works. + * m4/logf.m4 (gl_FUNC_LOGF): Fix typo in test program. + 2012-04-01 Bruno Haible <bruno@clisp.org> log10l: Work around log10l-ieee test failure on IRIX 6.5.
--- 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 @@ 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);