2007-10-28 Bruno Haible <bruno@clisp.org>
+ Fix link errors with Sun C 5.0 on Solaris 10.
+ * m4/floorf.m4 (gl_FUNC_FLOORF): Consider also the case that the
+ function is declared but not present in the compiler's libm.
+ * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise.
+ * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
+ * m4/ceill.m4 (gl_FUNC_CEILL: Likewise.
+ * lib/math.in.h: Test REPLACE_CEILF instead of HAVE_DECL_CEILF.
+ Test REPLACE_CEILL instead of HAVE_DECL_CEILL.
+ Test REPLACE_FLOORF instead of HAVE_DECL_FLOORF.
+ Test REPLACE_FLOORL instead of HAVE_DECL_FLOORL.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update.
+ * modules/math (Makefile.am): Substitute REPLACE_CEILF instead of
+ HAVE_DECL_CEILF, REPLACE_CEILL instead of HAVE_DECL_CEILL,
+ REPLACE_FLOORF instead of HAVE_DECL_FLOORF, REPLACE_FLOORL instead of
+ HAVE_DECL_FLOORL.
+
+2007-10-28 Bruno Haible <bruno@clisp.org>
+
* m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): New macro, extracted from
gl_FUNC_FLOORL. Cache the result.
(gl_FUNC_FLOORL): Use it.