Mercurial > hg > octave-jordi > gnulib-hg
diff modules/acosl @ 15943:617d0805c8d8
acosl: Simplify for platforms where 'long double' == 'double'.
* lib/acosl.c (acosl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New
alternative implementation.
* m4/acosl.m4 (gl_FUNC_ACOSL): Require gl_LONG_DOUBLE_VS_DOUBLE.
Determine ACOSL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
* modules/acosl (Depends-on): Add acos. Update conditions.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 11 Oct 2011 11:15:25 +0200 |
parents | f31b7f55cb96 |
children |
line wrap: on
line diff
--- a/modules/acosl +++ b/modules/acosl @@ -8,8 +8,9 @@ Depends-on: math extensions -asinl [test $HAVE_ACOSL = 0] -sqrtl [test $HAVE_ACOSL = 0] +acos [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +asinl [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +sqrtl [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] configure.ac: gl_FUNC_ACOSL