summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-15 11:49:37 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-15 11:49:37 +0000
commit7f27543b3b1dfbd864c7e4edd22f739078fd2908 (patch)
tree1996b15c24b6710675eca69c56857dcaa264b33a
parent54e4583d527a1476d75310dac0be32d659a6633a (diff)
* configure.in (FILE_READEND): Don't detect it because it is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--configure.in18
2 files changed, 4 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 712d53c..885a412 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Feb 15 20:48:49 2014 Tanaka Akira <akr@fsij.org>
+
+ * configure.in (FILE_READEND): Don't detect it because it is not used.
+
Sat Feb 15 13:22:28 2014 Eric Wong <e@80x24.org>
* probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id
diff --git a/configure.in b/configure.in
index d1ed8b2..b04aec6 100644
--- a/configure.in
+++ b/configure.in
@@ -2355,24 +2355,6 @@ AC_CACHE_CHECK([read buffer ptr field in FILE structures], rb_cv_frptr,
done])
if test "$rb_cv_frptr" != "not found"; then
AC_DEFINE_UNQUOTED(FILE_READPTR, $rb_cv_frptr)
-
- if test "$rb_cv_fcnt" = "not found"; then
- AC_CACHE_CHECK([read buffer end field in FILE structures], rb_cv_frend,
- [for frend in dnl
- _IO_read_end dnl
- bufread dnl
- __bufread dnl
- ; do
- AC_TRY_COMPILE([#include <stdio.h>
- ],
- [FILE *f = stdin; char buf[256]; f->$frend = buf;],
- rb_cv_frend="$frend"; break,
- rb_cv_frend="not found")
- done])
- if test "$rb_cv_frend" != "not found"; then
- AC_DEFINE_UNQUOTED(FILE_READEND, $rb_cv_frend)
- fi
- fi
fi
if test x"$ac_cv_func_gettimeofday" != xyes; then