tests: avoid spurious assertion failure in test-float.c on ppc64
[gnulib.git] / modules / roundf
index d9c283e..86d758b 100644 (file)
@@ -16,6 +16,9 @@ float           [test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1]
 
 configure.ac:
 gl_FUNC_ROUNDF
+if test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1; then
+  AC_LIBOBJ([roundf])
+fi
 gl_MATH_MODULE_INDICATOR([roundf])
 
 Makefile.am: