autoupdate
[gnulib.git] / modules / ldexpl
index 517a40a..69b2228 100644 (file)
@@ -7,11 +7,16 @@ m4/ldexpl.m4
 
 Depends-on:
 math
-isnanl          [test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no]
-fpucw           [test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no]
+extensions
+ldexp           [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
+isnanl          [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+fpucw           [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
 
 configure.ac:
 gl_FUNC_LDEXPL
+if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then
+  AC_LIBOBJ([ldexpl])
+fi
 gl_MATH_MODULE_INDICATOR([ldexpl])
 
 Makefile.am: