New module 'fabsf'.
authorBruno Haible <bruno@clisp.org>
Wed, 5 Oct 2011 22:45:57 +0000 (00:45 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 5 Oct 2011 22:45:57 +0000 (00:45 +0200)
ChangeLog
m4/math_h.m4

index 5f0d563..0430609 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,8 +8,8 @@
        * lib/math.in.h (fabsf): New declaration.
        * lib/fabsf.c: New file.
        * m4/fabsf.m4: New file.
-       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FABSF,
-       HAVE_FABSF.
+       * m4/math_h.m4 (gl_MATH_H): Test whether fabsf is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_FABSF, HAVE_FABSF.
        * modules/math (Makefile.am): Substitute GNULIB_FABSF, HAVE_FABSF.
        * modules/fabsf: New file.
        * tests/test-math-c++.cc: Check the declaration of fabsf.
index 50f2a8f..4aee605 100644 (file)
@@ -38,9 +38,9 @@ AC_DEFUN([gl_MATH_H],
 
   dnl Check for declarations of anything we want to poison if the
   dnl corresponding gnulib module is not in use.
-  gl_WARN_ON_USE_PREPARE([[#include <math.h>
-    ]], [acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl
-    ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl])
+  gl_WARN_ON_USE_PREPARE([[#include <math.h>]],
+    [acosl asinl atanl ceilf ceill cosl expl fabsf floorf floorl frexpl
+     ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl])
 ])
 
 AC_DEFUN([gl_MATH_MODULE_INDICATOR],