cbrtf: Work around bug in IRIX 6.5 system function.
authorBruno Haible <bruno@clisp.org>
Thu, 1 Mar 2012 02:36:14 +0000 (03:36 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 1 Mar 2012 02:36:14 +0000 (03:36 +0100)
commit83f7d47767e4c9cfdbf17f2415fe9c8028ff7da8
treeea27a8c2cc3dcc9304a57546639bb51dc4334a47
parent80f937ce02fdff87a359bb4ac0dcf76669277cb4
cbrtf: Work around bug in IRIX 6.5 system function.

* lib/math.in.h (cbrtf): Override if REPLACE_CBRTF is 1.
* m4/cbrtf.m4 (gl_FUNC_CBRTF_WORKS): New macro.
(gl_FUNC_CBRTF): Invoke it. Set REPLACE_CBRTF to 1 if cbrtf() does not
work.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_CBRTF.
* modules/math (Makefile.am): Substitute REPLACE_CBRTF.
* modules/cbrtf (configure.ac): Consider REPLACE_CBRTF.
(Depends-on): Update conditions.
* doc/posix-functions/cbrtf.texi: Mention the IRIX 6.5 problem.
ChangeLog
doc/posix-functions/cbrtf.texi
lib/math.in.h
m4/cbrtf.m4
m4/math_h.m4
modules/cbrtf
modules/math