rint: Fix ordering constraints.
[gnulib.git] / m4 / rint.m4
index 9d7335d..5d9e832 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -6,6 +6,8 @@ dnl with or without modifications, as long as this notice is preserved.
 
 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 \