log2-ieee: Work around test failure on NetBSD 5.1 and Solaris 10.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2012 21:12:34 +0000 (22:12 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2012 22:33:34 +0000 (23:33 +0100)
commit6bf08d5f7926a6e7d4f851bed1d4b63872a9ed2a
treeb9e4fcbcf7c0d3d2eecffbeb3af63bb07ad0484d
parenta177ce3f52a8bc2e08b4a95955e16501f91d086b
log2-ieee: Work around test failure on NetBSD 5.1 and Solaris 10.

* m4/log2-ieee.m4: New file.
* m4/log2.m4 (gl_FUNC_LOG2): If gl_FUNC_LOG2_IEEE is present, test
whether log2 works with a minus zero argument. Replace it if not.
* modules/log2-ieee (Files): Add m4/log2-ieee.m4.
(configure.ac): Invoke gl_FUNC_LOG2_IEEE.
* doc/posix-functions/log2.texi: Mention the log2-ieee module.
ChangeLog
doc/posix-functions/log2.texi
m4/log2-ieee.m4 [new file with mode: 0644]
m4/log2.m4
modules/log2-ieee