gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / modules / round
index 07dcd88..c057822 100644 (file)
@@ -11,11 +11,14 @@ m4/ceil.m4
 Depends-on:
 math
 extensions
-float           [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
-floor           [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
+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: