зеркало из https://github.com/github/ruby.git
* configure.in (rb_cv_large_fd_select): needed on mingw, even
though fd_mask is not available. [ruby-core:30401] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
56734a1901
Коммит
259c3a1c4c
|
@ -1,3 +1,8 @@
|
|||
Wed May 26 10:35:37 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* regparse.c (add_code_range_to_buf0): fix false negative
|
||||
|
|
|
@ -906,6 +906,7 @@ main()
|
|||
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 @@ AC_CHECK_TYPES([struct timezone], [], [], [@%:@ifdef HAVE_TIME_H
|
|||
@%:@ 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
|
||||
|
|
Загрузка…
Ссылка в новой задаче