aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index a2b09ac3d8..107e4f521b 100644
--- a/configure.in
+++ b/configure.in
@@ -1877,6 +1877,7 @@ if test x"$ac_cv_func_clock_gettime" != xyes; then
AC_DEFINE(HAVE_CLOCK_GETTIME, 1)
fi
fi
+AC_CHECK_FUNCS(clock_getres) # clock_getres should be tested after clock_gettime test including librt test.
AC_CACHE_CHECK(for unsetenv returns a value, rb_cv_unsetenv_return_value,
[AC_TRY_COMPILE([