error: depend on stdio
[gnulib.git] / modules / ldexpl
index c89187a..69b2228 100644 (file)
@@ -7,10 +7,16 @@ m4/ldexpl.m4
 
 Depends-on:
 math
-isnanl-nolibm
+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:
@@ -18,6 +24,9 @@ Makefile.am:
 Include:
 <math.h>
 
+Link:
+$(LDEXPL_LIBM)
+
 License:
 LGPL