remainderl-ieee: Work around test failure on OSF/1.
authorBruno Haible <bruno@clisp.org>
Mon, 27 Feb 2012 20:06:30 +0000 (21:06 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 27 Feb 2012 20:06:30 +0000 (21:06 +0100)
commit4e2d5fa77b00e2a921673a48df58ec3add1a3c72
tree94d9bcfb46a743efd29ac5620b8f08ca82bbe6c6
parentbc18fb52e080546bd6f048be78cf04968797a191
remainderl-ieee: Work around test failure on OSF/1.

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