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

ruby-changes:4643

From: ko1@a...
Date: Tue, 22 Apr 2008 15:25:26 +0900 (JST)
Subject: [ruby-changes:4643] nobu - Ruby:r16137 (trunk): * configure.in (struct timespec): needs time.h according to POSIX.

nobu	2008-04-22 15:25:05 +0900 (Tue, 22 Apr 2008)

  New Revision: 16137

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

  Log:
    * configure.in (struct timespec): needs time.h according to POSIX.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16137&r2=16136&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/configure.in?r1=16137&r2=16136&diff_format=u

Index: configure.in
===================================================================
--- configure.in	(revision 16136)
+++ configure.in	(revision 16137)
@@ -592,7 +592,7 @@
 		 fcntl.h sys/fcntl.h sys/select.h sys/time.h sys/times.h sys/param.h\
 		 syscall.h pwd.h grp.h a.out.h utime.h memory.h direct.h sys/resource.h \
 		 sys/mkdev.h sys/utime.h xti.h netinet/in_systm.h float.h ieeefp.h pthread.h \
-		 ucontext.h intrinsics.h langinfo.h locale.h sys/sendfile.h)
+		 ucontext.h intrinsics.h langinfo.h locale.h sys/sendfile.h time.h)
 
 dnl Check additional types.
 AC_CHECK_SIZEOF(rlim_t, 0, [
@@ -627,7 +627,9 @@
 AC_CHECK_MEMBERS([struct stat.st_ctimespec])
 AC_CHECK_MEMBERS([struct stat.st_ctimensec])
 
-AC_CHECK_TYPES(struct timespec)
+AC_CHECK_TYPES([struct timespec], [], [], [@%:@ifdef HAVE_TIME_H
+@%:@include <time.h>
+@%:@endif])
 
 AC_CHECK_TYPE(fd_mask, [AC_DEFINE(HAVE_RB_FD_INIT, 1)])
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 16136)
+++ ChangeLog	(revision 16137)
@@ -1,3 +1,7 @@
+Tue Apr 22 15:25:04 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (struct timespec): needs time.h according to POSIX.
+
 Tue Apr 22 13:19:48 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* thread.c (rb_thread_stop_timer_thread): should clear

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

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