Merge branch 'stable'
[gnulib.git] / modules / expl
index a0ccf88..7df4fb6 100644 (file)
@@ -8,11 +8,15 @@ 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
+if test $HAVE_EXPL = 0; then
+  AC_LIBOBJ([expl])
+fi
 gl_MATH_MODULE_INDICATOR([expl])
 
 Makefile.am: