зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
54e4583d52
Коммит
7f27543b3b
|
@ -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
|
||||
|
|
18
configure.in
18
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче