Commit 83f7d47767e4c9cfdbf17f2415fe9c8028ff7da8

Bruno Haible 2012-03-01T03:36:14

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.