From 55b6fff73788659467b3a8770a49bce1093f2c4b Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 10 Aug 2013 16:59:58 +0000 Subject: * configure.in: Revert r42458. It removes the HAVE_CLOCK_GETTIME from config.h. http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130809T044800Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ configure.in | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 71c12a4489..d45b4d75db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Aug 11 01:28:52 2013 Tanaka Akira + + * configure.in: Revert r42458. + It removes the HAVE_CLOCK_GETTIME from config.h. + http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130809T044800Z.diff.html.gz + Sat Aug 10 13:53:22 2013 Nobuyoshi Nakada * parse.y (rb_id_attrset): allow other than ID_ATTRSET. diff --git a/configure.in b/configure.in index bd3758c46f..42420fabad 100644 --- a/configure.in +++ b/configure.in @@ -1859,7 +1859,8 @@ 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) - ac_cv_func_clock_gettime="$ac_cv_lib_rt_clock_gettime" + unset ac_cv_func_clock_gettime + AC_CHECK_FUNCS(clock_gettime) fi AC_CACHE_CHECK(for unsetenv returns a value, rb_cv_unsetenv_return_value, -- cgit v1.2.3