NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / frexpl
index 185d54d..5e89907 100644 (file)
@@ -8,11 +8,16 @@ m4/frexpl.m4
 
 Depends-on:
 math
-isnanl-nolibm
-fpucw
+extensions
+frexp           [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
+isnanl-nolibm   [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+fpucw           [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
 
 configure.ac:
 gl_FUNC_FREXPL
+if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then
+  AC_LIBOBJ([frexpl])
+fi
 gl_MATH_MODULE_INDICATOR([frexpl])
 
 Makefile.am: