[前][次][番号順一覧][スレッド一覧]

ruby-changes:30380

From: nobu <ko1@a...>
Date: Fri, 9 Aug 2013 13:42:52 +0900 (JST)
Subject: [ruby-changes:30380] nobu:r42458 (trunk): configure.in: clock_gettime

nobu	2013-08-09 13:42:44 +0900 (Fri, 09 Aug 2013)

  New Revision: 42458

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42458

  Log:
    configure.in: clock_gettime
    
    * configure.in: use the result of AC_CHECK_LIB(rt, clock_gettime) as
      clock_gettime.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 42457)
+++ configure.in	(revision 42458)
@@ -1859,8 +1859,7 @@ if test x"$ac_cv_func_clock_gettime" != https://github.com/ruby/ruby/blob/trunk/configure.in#L1859
     # 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,

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]