logl: Simplify for platforms where 'long double' == 'double'.
authorBruno Haible <bruno@clisp.org>
Tue, 11 Oct 2011 00:11:21 +0000 (02:11 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 11 Oct 2011 00:11:21 +0000 (02:11 +0200)
commit6d273f723651db3faff61a76569eb44d8750b5f1
tree44b13aead64531f0bd9b716b77c9f16dd534115c
parent150ee3a66dce0f413327e67322e5b89ed440bd71
logl: Simplify for platforms where 'long double' == 'double'.

* lib/logl.c (logl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative
implementation.
* m4/logl.m4 (gl_FUNC_LOGL): Require gl_LONG_DOUBLE_VS_DOUBLE.
Determine LOGL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
* modules/logl (Depends-on): Add log. Update conditions.
ChangeLog
lib/logl.c
m4/logl.m4
modules/logl