summaryrefslogtreecommitdiff
path: root/modules/ceill
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ceill')
-rw-r--r--modules/ceill3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ceill b/modules/ceill
index 4ab7f38575..a5d860fc20 100644
--- a/modules/ceill
+++ b/modules/ceill
@@ -9,7 +9,8 @@ m4/ceill.m4
Depends-on:
math
extensions
-float [test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1]
+ceil [{ test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
+float [{ test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_CEILL