mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io/console: checks for old versions
* ext/io/console/extconf.rb: remove no longer needed checks for old versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
faa53ca2f6
commit
3bd4d51149
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ ok = true
|
|||
hdr = nil
|
||||
case
|
||||
when macro_defined?("_WIN32", "")
|
||||
have_func("rb_w32_map_errno", "ruby.h")
|
||||
# rb_w32_map_errno: 1.8.7
|
||||
when hdr = %w"termios.h termio.h".find {|h| have_header(h)}
|
||||
have_func("cfmakeraw", hdr)
|
||||
when have_header(hdr = "sgtty.h")
|
||||
|
@ -14,8 +14,8 @@ else
|
|||
end
|
||||
if ok
|
||||
have_header("sys/ioctl.h")
|
||||
have_func("rb_check_hash_type", "ruby.h")
|
||||
have_func("rb_io_get_write_io", "ruby/io.h")
|
||||
have_func("rb_cloexec_open", "ruby/io.h")
|
||||
# rb_check_hash_type: 1.9.3
|
||||
# rb_io_get_write_io: 1.9.1
|
||||
# rb_cloexec_open: 2.0.0
|
||||
create_makefile("io/console")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue