+ gl_FUNC_FLOORF_LIBS
+ if test "$FLOORF_LIBM" = "?"; then
+ dnl Sun C 5.0 on Solaris declares floorf() and has it in the system-wide
+ dnl libm.so, but not in the libm.so that the compiler uses.
+ REPLACE_FLOORF=1
+ fi
+ else
+ HAVE_DECL_FLOORF=0
+ fi
+ if test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1; then
+ AC_LIBOBJ([floorf])
+ FLOORF_LIBM=
+ fi
+ AC_SUBST([FLOORF_LIBM])
+])
+
+# Determines the libraries needed to get the floorf() function.
+# Sets FLOORF_LIBM.
+AC_DEFUN([gl_FUNC_FLOORF_LIBS],
+[
+ gl_CACHE_VAL_SILENT([gl_cv_func_floorf_libm], [
+ gl_cv_func_floorf_libm=?