changeset 15830:8cbd3394f44f

New module 'fabsf'.
author Bruno Haible <bruno@clisp.org>
date Thu, 06 Oct 2011 00:45:57 +0200
parents edbd10ce63fa
children a9066d0c1310
files ChangeLog m4/math_h.m4
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/m4/math_h.m4
+++ b/m4/math_h.m4
@@ -38,9 +38,9 @@
 
   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],