diff options
author | Bruno Haible <bruno@clisp.org> | 2011-10-11 00:00:31 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-10-11 00:00:31 +0200 |
commit | 150ee3a66dce0f413327e67322e5b89ed440bd71 (patch) | |
tree | e2e8441b72fdc33a347f635153bf372f2358bd52 /modules/expl | |
parent | f91a52116057e8f56e1af7dd58b2ded6274d60e5 (diff) | |
download | gnulib-150ee3a66dce0f413327e67322e5b89ed440bd71.tar.gz |
expl: Simplify for platforms where 'long double' == 'double'.
* lib/expl.c (expl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative
implementation.
* m4/expl.m4 (gl_FUNC_EXPL): Require gl_LONG_DOUBLE_VS_DOUBLE.
Determine EXPL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
* modules/expl (Depends-on): Add exp. Update conditions.
Diffstat (limited to 'modules/expl')
-rw-r--r-- | modules/expl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/expl b/modules/expl index ed377c305e..7df4fb653b 100644 --- a/modules/expl +++ b/modules/expl @@ -8,8 +8,9 @@ m4/expl.m4 Depends-on: math extensions -float [test $HAVE_EXPL = 0] -floorl [test $HAVE_EXPL = 0] +exp [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floorl [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] configure.ac: gl_FUNC_EXPL |