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

ruby-changes:32952

From: akr <ko1@a...>
Date: Tue, 18 Feb 2014 12:13:08 +0900 (JST)
Subject: [ruby-changes:32952] akr:r45031 (trunk): * configure.in (FILE_COUNT): Removed. (win32.c defines it in itself.)

akr	2014-02-18 12:13:04 +0900 (Tue, 18 Feb 2014)

  New Revision: 45031

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

  Log:
    * configure.in (FILE_COUNT): Removed.  (win32.c defines it in itself.)
      (FILE_READPTR): Ditto.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 45030)
+++ configure.in	(revision 45031)
@@ -2317,46 +2317,6 @@ else https://github.com/ruby/ruby/blob/trunk/configure.in#L2317
   AC_DEFINE(RSHIFT(x,y), (((x)<0) ? ~((~(x))>>(int)(y)) : (x)>>(int)(y)))
 fi
 
-# win32.c still use this. Don't remove it.
-test "$rb_cv_fcnt" = "not found" && rb_cv_fcnt="not found (OK if using GNU libc)"
-AC_CACHE_CHECK([read count field in FILE structures], rb_cv_fcnt,
-[rb_cv_fcnt="not found (OK if using GNU libc)"
-for fcnt in	dnl
-     _cnt	dnl
-     __cnt	dnl
-     _r		dnl
-     readCount	dnl
-     _rcount	dnl for emx0.9c
-; do
-    AC_TRY_COMPILE([#include <stdio.h>
-],
-	[FILE *f = stdin; f->$fcnt = 0;],
-	[rb_cv_fcnt="$fcnt"; break])
-done])
-AS_CASE("$rb_cv_fcnt",
-	["not found"*], [rb_cv_fcnt="not found"],
-	[AC_DEFINE_UNQUOTED(FILE_COUNT, $rb_cv_fcnt)])
-
-# win32.c still use this. Don't remove it.
-AC_CACHE_CHECK([read buffer ptr field in FILE structures], rb_cv_frptr,
-[for frptr in	dnl
-     _IO_read_ptr dnl
-     _ptr	dnl
-     __ptr	dnl
-     bufpos	dnl
-     _p	dnl
-     __bufpos	dnl
-; do
-    AC_TRY_COMPILE([#include <stdio.h>
-],
-	[FILE *f = stdin; char buf[256]; f->$frptr = buf;],
-	rb_cv_frptr="$frptr"; break,
-	rb_cv_frptr="not found")
-done])
-if test "$rb_cv_frptr" != "not found"; then
-  AC_DEFINE_UNQUOTED(FILE_READPTR, $rb_cv_frptr)
-fi
-
 if test x"$ac_cv_func_gettimeofday" != xyes; then
     AC_MSG_ERROR(gettimeofday() must exist)
 fi
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45030)
+++ ChangeLog	(revision 45031)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Feb 18 12:06:39 2014  Tanaka Akira  <akr@f...>
+
+	* configure.in (FILE_COUNT): Removed.  (win32.c defines it in itself.)
+	  (FILE_READPTR): Ditto.
+
 Tue Feb 18 09:35:44 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* test/test/psych/test_string.rb: remove unused variables.

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

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