log10l: Work around AIX 5.1, IRIX 6.5, OSF/1 5.1 bug.
authorBruno Haible <bruno@clisp.org>
Sun, 1 Apr 2012 12:41:57 +0000 (14:41 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 1 Apr 2012 14:37:09 +0000 (16:37 +0200)
commitf068ad7807118fd201763a73b0f27a3f73827f50
treee73146d227fc1d84a6a807d21b68dd9051eb4653
parentac05a13b444792260deaadfeb15f5c137ba9072b
log10l: Work around AIX 5.1, IRIX 6.5, OSF/1 5.1 bug.

* lib/math.in.h (log10l): Override if REPLACE_LOG10L is 1.
* lib/log10l.c (log10l): If log10l exists, use it and provide just the
workaround.
* m4/log10l.m4 (gl_FUNC_LOG10L_WORKS): New macro.
(gl_FUNC_LOG10L): Invoke it. Set REPLACE_LOG10L.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_LOG10L.
* modules/math (Makefile.am): Substitute REPLACE_LOG10L.
* modules/log10l (configure.ac): Consider REPLACE_LOG10L.
(Depends-on): Update conditions.
* doc/posix-functions/log10l.texi: Mention the MSVC9, AIX 5.1,
IRIX 6.5, OSF/1 5.1 problems.
ChangeLog
doc/posix-functions/log10l.texi
lib/log10l.c
lib/math.in.h
m4/log10l.m4
m4/math_h.m4
modules/log10l
modules/math