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

ruby-changes:16067

From: nobu <ko1@a...>
Date: Wed, 26 May 2010 10:36:06 +0900 (JST)
Subject: [ruby-changes:16067] Ruby:r28016 (trunk, ruby_1_9_2): * configure.in (rb_cv_large_fd_select): needed on mingw, even

nobu	2010-05-26 10:35:38 +0900 (Wed, 26 May 2010)

  New Revision: 28016

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

  Log:
    * configure.in (rb_cv_large_fd_select): needed on mingw, even
      though fd_mask is not available.  [ruby-core:30401]

  Modified files:
    branches/ruby_1_9_2/ChangeLog
    branches/ruby_1_9_2/configure.in
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 28015)
+++ configure.in	(revision 28016)
@@ -906,6 +906,7 @@
 		rb_cv_negative_time_t=no
 		ac_cv_func_fcntl=yes
 		ac_cv_func_flock=yes
+		rb_cv_large_fd_select=yes
 		AC_LIBOBJ([langinfo])
 		: ${enable_win95=maybe}
 		],
@@ -1021,7 +1022,11 @@
 @%:@ include <sys/time.h>
 @%:@endif])
 
-AC_CHECK_TYPE(fd_mask, [AC_DEFINE(HAVE_RB_FD_INIT, 1)])
+AC_CACHE_VAL([rb_cv_large_fd_select],
+    [AC_CHECK_TYPE(fd_mask, [rb_cv_large_fd_select=yes], [rb_cv_large_fd_select=no])])
+if test "$rb_cv_large_fd_select" = yes; then
+    AC_DEFINE(HAVE_RB_FD_INIT, 1)
+fi
 
 dnl RUBY_DEFINT TYPENAME, SIZE, [SIGNED-OR-UNSIGNED], [INCLUDES = DEFAULT-INCLUDES]
 AC_DEFUN([RUBY_DEFINT], [dnl
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28015)
+++ ChangeLog	(revision 28016)
@@ -1,3 +1,8 @@
+Wed May 26 10:35:37 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (rb_cv_large_fd_select): needed on mingw, even
+	  though fd_mask is not available.  [ruby-core:30401]
+
 Tue May 25 14:00:51 2010  NARUSE, Yui  <naruse@r...>
 
 	* regparse.c (add_code_range_to_buf0): fix false negative
Index: ruby_1_9_2/configure.in
===================================================================
--- ruby_1_9_2/configure.in	(revision 28015)
+++ ruby_1_9_2/configure.in	(revision 28016)
@@ -906,6 +906,7 @@
 		rb_cv_negative_time_t=no
 		ac_cv_func_fcntl=yes
 		ac_cv_func_flock=yes
+		rb_cv_large_fd_select=yes
 		AC_LIBOBJ([langinfo])
 		: ${enable_win95=maybe}
 		],
@@ -1021,7 +1022,11 @@
 @%:@ include <sys/time.h>
 @%:@endif])
 
-AC_CHECK_TYPE(fd_mask, [AC_DEFINE(HAVE_RB_FD_INIT, 1)])
+AC_CACHE_VAL([rb_cv_large_fd_select],
+    [AC_CHECK_TYPE(fd_mask, [rb_cv_large_fd_select=yes], [rb_cv_large_fd_select=no])])
+if test "$rb_cv_large_fd_select" = yes; then
+    AC_DEFINE(HAVE_RB_FD_INIT, 1)
+fi
 
 dnl RUBY_DEFINT TYPENAME, SIZE, [SIGNED-OR-UNSIGNED], [INCLUDES = DEFAULT-INCLUDES]
 AC_DEFUN([RUBY_DEFINT], [dnl
Index: ruby_1_9_2/ChangeLog
===================================================================
--- ruby_1_9_2/ChangeLog	(revision 28015)
+++ ruby_1_9_2/ChangeLog	(revision 28016)
@@ -1,3 +1,8 @@
+Wed May 26 10:35:37 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (rb_cv_large_fd_select): needed on mingw, even
+	  though fd_mask is not available.  [ruby-core:30401]
+
 Wed May 26 00:13:58 2010  NARUSE, Yui  <naruse@r...>
 
 	* regparse.c (add_code_range_to_buf0): fix false negative

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

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