maint.mk: fix "release" target to build _version
[gnulib.git] / modules / roundf
index d77b2a1..619233d 100644 (file)
@@ -10,12 +10,15 @@ m4/floorf.m4
 m4/ceilf.m4
 
 Depends-on:
-float
 math
 extensions
+float           [test $HAVE_ROUNDF = 0 || test $REPLACE_ROUNDF = 1]
 
 configure.ac:
 gl_FUNC_ROUNDF
+if test $HAVE_ROUNDF = 0 || test $REPLACE_ROUNDF = 1; then
+  AC_LIBOBJ([roundf])
+fi
 gl_MATH_MODULE_INDICATOR([roundf])
 
 Makefile.am: