-# rint.m4 serial 1
+# rint.m4 serial 2
dnl Copyright (C) 2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_DEFUN([gl_FUNC_RINT],
[
+ AC_REQUIRE([gl_MATH_H_DEFAULTS])
+
dnl Determine RINT_LIBM.
gl_MATHFUNC([rint], [double], [(double)])
if test $gl_cv_func_rint_no_libm = no \