summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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