md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
[gnulib.git] / modules / trunc
index 8153eda..34f3339 100644 (file)
@@ -7,10 +7,14 @@ m4/trunc.m4
 
 Depends-on:
 math
-float
+extensions
+float           [test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1]
 
 configure.ac:
 gl_FUNC_TRUNC
+if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
+  AC_LIBOBJ([trunc])
+fi
 gl_MATH_MODULE_INDICATOR([trunc])
 
 Makefile.am: