summaryrefslogtreecommitdiff
path: root/ext/curses/extconf.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-02 04:27:29 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-02 04:27:29 +0000
commit447578a8a02a32fc3594cf62d3c0f928fe63221a (patch)
treef4ad1d6c7b5a88b9b4332d3ee2a1863a850b31fc /ext/curses/extconf.rb
parentf261bdf66cb3a40b44c8830049d1ec57016777fe (diff)
* string.c (rb_str_shared_replace): clear flags before copy.
* string.c (rb_str_replace): ditto. * eval.c (rb_yield_0): override visibility mode for module_eval etc. (ruby-bugs-ja PR#505) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses/extconf.rb')
-rw-r--r--ext/curses/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb
index 94443b45e6..2f20bb2ff3 100644
--- a/ext/curses/extconf.rb
+++ b/ext/curses/extconf.rb
@@ -8,6 +8,7 @@ make=false
have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM
if have_header("ncurses.h") and have_library("ncurses", "initscr")
make=true
+elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr") and have_library("tinfo", "tgetent")
elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr")
make=true
elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr")