Work around expm1f bug on IRIX 6.5.
authorBruno Haible <bruno@clisp.org>
Tue, 6 Mar 2012 22:25:51 +0000 (23:25 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 6 Mar 2012 23:05:20 +0000 (00:05 +0100)
commit7c193d625308bb806418c61ec9062fc22a29aeaf
treed930f9bd1941f02881d8fff53b4deb033c5267a1
parenta7c48c37cce035f27f23fb59e2ca4d661e035181
Work around expm1f bug on IRIX 6.5.

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