log1pl-ieee: Work around test failure on IRIX 6.5.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2012 01:36:40 +0000 (02:36 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2012 02:02:52 +0000 (03:02 +0100)
commit6f9fd2e95ca3b10f066bac142903f9b81f4b9dc8
tree9852367d7b01698d121d2f6d7b4b6e2682156dd0
parentef3f971ddf9b91cc6ea3af6e46532ea6b804b9ce
log1pl-ieee: Work around test failure on IRIX 6.5.

* m4/log1pl-ieee.m4: New file.
* m4/log1pl.m4 (gl_FUNC_LOG1PL): If gl_FUNC_LOG1PL_IEEE is present,
test whether log1pl works with a minus zero argument. Replace it if
not.
* lib/math.in.h (log1pl): Override if REPLACE_LOG1PL is 1.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_LOG1PL.
* modules/math (Makefile.am): Substitute REPLACE_LOG1PL.
* modules/log1pl (configure.ac): Consider REPLACE_LOG1PL.
(Depends-on): Update conditions.
* modules/log1pl-ieee (Files): Add m4/log1p-ieee.m4, m4/minus-zero.m4,
m4/signbit.m4.
(configure.ac): Invoke gl_FUNC_LOG1PL_IEEE.
* doc/posix-functions/log1pl.texi: Mention the log1pl-ieee module.
ChangeLog
doc/posix-functions/log1pl.texi
lib/math.in.h
m4/log1pl-ieee.m4 [new file with mode: 0644]
m4/log1pl.m4
m4/math_h.m4
modules/log1pl
modules/log1pl-ieee
modules/math