rintf: Don't override undeclared system function on IRIX 6.5.
authorBruno Haible <bruno@clisp.org>
Thu, 8 Mar 2012 01:27:05 +0000 (02:27 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 8 Mar 2012 02:18:03 +0000 (03:18 +0100)
commite660a47d371278b8d4ba7f227c5df451984cfe5b
tree61dde571bdec824a5f28e408fa9322aa8aa6bda4
parent017f101e58848c394c0c81d3b6697dd58824ecd5
rintf: Don't override undeclared system function on IRIX 6.5.

* lib/math.in.h (rintf): Test HAVE_DECL_RINTF, not HAVE_RINTF.
* m4/rintf.m4 (gl_FUNC_RINTF): Don't assume rintf() is declared when it
exists. Set HAVE_DECL_RINTF.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_DECL_RINTF, not
HAVE_RINTF.
* modules/math (Makefile.am): Substitute HAVE_DECL_RINTF, not
HAVE_RINTF.
* doc/posix-functions/rintf.texi: Mention missing declaration problem.
ChangeLog
doc/posix-functions/rintf.texi
lib/math.in.h
m4/math_h.m4
m4/rintf.m4
modules/math