modfl-ieee: Work around test failures on IRIX, OSF/1, mingw.
authorBruno Haible <bruno@clisp.org>
Mon, 27 Feb 2012 04:03:10 +0000 (05:03 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 27 Feb 2012 04:03:10 +0000 (05:03 +0100)
commit579928caf1c6bb983cbba7ee18603c077be78392
tree0f75acb45d39b324d284c1e3a1a3c607d4b7cfc9
parent568ffd34aa5cf1109b23b142a3f137dd7d16020f
modfl-ieee: Work around test failures on IRIX, OSF/1, mingw.

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