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