diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-21 18:35:11 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-21 18:35:11 +0000 |
commit | 137b5ecd8d9525dbc45f372a226ccdb94a68d032 (patch) | |
tree | 6aa24365b1e7293ef81171cc30cef58ce256ad10 /ext/curses/extconf.rb | |
parent | b58ed037598c05764a7f98038197507481959c99 (diff) | |
download | ruby-137b5ecd8d9525dbc45f372a226ccdb94a68d032.tar.gz |
* ext/curses/curses.c (curses_escdelay_set): support ESCDELAY. a
patch from Giancarlo F Bellido <support@coaxialhost.com> in
[ruby-core:19961].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses/extconf.rb')
-rw-r--r-- | ext/curses/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb index 799d1bfe5f..3aa91702e3 100644 --- a/ext/curses/extconf.rb +++ b/ext/curses/extconf.rb @@ -6,6 +6,7 @@ dir_config('termcap') make=false headers = [] + have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM have_library("tinfo", "tgetent") or have_library("termcap", "tgetent") if have_header(*curses=%w"ncurses.h") and have_library("ncurses", "initscr") @@ -27,5 +28,6 @@ if make if try_static_assert("sizeof(char*)>sizeof(int)", %w[stdio.h stdlib.h]+curses , flag) $defs << flag end + have_var("ESCDELAY", curses) create_makefile("curses") end |