logf-ieee: Fix test whether logf works.
authorBruno Haible <bruno@clisp.org>
Sun, 1 Apr 2012 17:31:01 +0000 (19:31 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 1 Apr 2012 17:31:01 +0000 (19:31 +0200)
* m4/logf.m4 (gl_FUNC_LOGF): Fix typo in test program.

ChangeLog
m4/logf.m4

index 3d8f7a3..3205f7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
        * lib/log10l.c: Include <float.h>
        (log10l): On IRIX, normalize the +Infinity value.
index 3d000c0..231603c 100644 (file)
@@ -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);