math: Fix some C++ test errors on Solaris 8.
[pspp] / ChangeLog
index 23b8f601c20927ead3aaffd29547ca2adc9c2c4c..b6bec677e1c267b6b5d89c835ec358a07bf4b0cf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,46 @@
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       math: Fix some C++ test errors on Solaris 8.
+       * lib/math.in.h (truncf, trunc): Use simpler idiom.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       math: Fix some C++ test errors on Cygwin.
+       * lib/math.in.h (ceilf, ceill, floorf, floorl, roundf, round, roundl,
+       truncl): Provide declaration if the system does not have it.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): If the function is not declared, set
+       HAVE_DECL_CEILF to 0, not REPLACE_CEILF to 1.
+       * m4/ceill.m4 (gl_FUNC_CEILL): If the function is not declared, set
+       HAVE_DECL_CEILL to 0, not REPLACE_CEILL to 1.
+       * m4/floorf.m4 (gl_FUNC_FLOORF): If the function is not declared, set
+       HAVE_DECL_FLOORF to 0, not REPLACE_FLOORF to 1.
+       * m4/floorl.m4 (gl_FUNC_FLOORL): If the function is not declared, set
+       HAVE_DECL_FLOORL to 0, not REPLACE_FLOORL to 1.
+       * m4/round.m4 (gl_FUNC_ROUND): If the function is not declared, set
+       HAVE_DECL_ROUND to 0, not REPLACE_ROUND to 1.
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): If the function is not declared, set
+       HAVE_DECL_ROUNDF to 0, not REPLACE_ROUNDF to 1.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): If the function is not declared, set
+       HAVE_DECL_ROUNDL to 0, not REPLACE_ROUNDL to 1.
+       * m4/truncl.m4 (gl_FUNC_TRUNCL): If the function is not declared, set
+       HAVE_DECL_TRUNCL to 0, not REPLACE_TRUNCL to 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_DECL_CEILF,
+       HAVE_DECL_CEILL, HAVE_DECL_FLOORF, HAVE_DECL_FLOORL, HAVE_DECL_ROUND,
+       HAVE_DECL_ROUNDF, HAVE_DECL_ROUNDL, HAVE_DECL_TRUNCL.
+       * modules/math (Makefile.am): Substitute HAVE_DECL_CEILF,
+       HAVE_DECL_CEILL, HAVE_DECL_FLOORF, HAVE_DECL_FLOORL, HAVE_DECL_ROUND,
+       HAVE_DECL_ROUNDF, HAVE_DECL_ROUNDL, HAVE_DECL_TRUNCL.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Remove redundant AC_SUBST invocation.
+       * m4/ceill.m4 (gl_FUNC_CEILL): Likewise.
+       * m4/floorf.m4 (gl_FUNC_FLOORF): Likewise.
+       * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise.
+       * m4/isfinite.m4 (gl_ISFINITE): Likewise.
+       * m4/isinf.m4 (gl_ISINF): Likewise.
+       * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
+
 2010-04-04  Bruno Haible  <bruno@clisp.org>
 
        * m4/trunc.m4 (gl_FUNC_TRUNC): Remove redundant AC_SUBST invocation.