error: depend on stdio
[gnulib.git] / modules / round
index c4acba1..c057822 100644 (file)
@@ -9,13 +9,16 @@ m4/floor.m4
 m4/ceil.m4
 
 Depends-on:
-float
-floor
 math
 extensions
+float           [test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1]
+floor           [test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1]
 
 configure.ac:
 gl_FUNC_ROUND
+if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then
+  AC_LIBOBJ([round])
+fi
 gl_MATH_MODULE_INDICATOR([round])
 
 Makefile.am: