diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 71519926cf..0302d29f2c 100644 --- a/configure.in +++ b/configure.in @@ -1859,8 +1859,7 @@ if test x"$ac_cv_func_clock_gettime" != xyes; then # glibc 2.17 moves clock_* functions from librt to the main C library. # http://sourceware.org/ml/libc-announce/2012/msg00001.html AC_CHECK_LIB(rt, clock_gettime) - unset ac_cv_func_clock_gettime - AC_CHECK_FUNCS(clock_gettime) + ac_cv_func_clock_gettime="$ac_cv_lib_rt_clock_gettime" fi AC_CACHE_CHECK(for unsetenv returns a value, rb_cv_unsetenv_return_value, |