diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-09 04:42:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-09 04:42:44 +0000 |
commit | f67c1b0a123489a1b62955514f8cd6d4c7a3efa0 (patch) | |
tree | 1025136fb5c620908ee7cebe0d66a5dc982c4bf9 /configure.in | |
parent | c04f402f0f7692f6105c930f19d81b332d6a93d5 (diff) | |
download | ruby-f67c1b0a123489a1b62955514f8cd6d4c7a3efa0.tar.gz |
configure.in: clock_gettime
* configure.in: use the result of AC_CHECK_LIB(rt, clock_gettime) as
clock_gettime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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, |