summaryrefslogtreecommitdiff
path: root/ext/curses/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/curses/extconf.rb')
-rw-r--r--ext/curses/extconf.rb8
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")