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