diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-12 23:42:44 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-12 23:42:44 +0000 |
commit | 9eded5fa137fc0d25c1096890a706c4437043227 (patch) | |
tree | 72bbbd6461756d8615183a7a56f21620b29e8c19 /ext/curses/extconf.rb | |
parent | 7e97ab23f81b94b93dca9fec9ea8997c46a59e11 (diff) |
new methods and constants for using the mouse, character attributes,
colors and key codes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses/extconf.rb')
-rw-r--r-- | ext/curses/extconf.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb index c16ab00f28..a2e2d23026 100644 --- a/ext/curses/extconf.rb +++ b/ext/curses/extconf.rb @@ -1,8 +1,8 @@ require 'mkmf' -dir_config('curses') -dir_config('ncurses') -dir_config('termcap') +if( ! $CPPFLAGS ) + $CPPFLAGS = "" +end make=false have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM @@ -20,7 +20,7 @@ else end if make - for f in %w(isendwin ungetch beep doupdate flash deleteln wdeleteln) + for f in %w(isendwin ungetch beep doupdate flash deleteln wdeleteln keypad init_color) have_func(f) end create_makefile("curses") |