diff m4/logf.m4 @ 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 d7a6433b4967
children b187fc49964b
line wrap: on
line diff
--- 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);