summaryrefslogtreecommitdiffstats
path: root/ext/curses
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
commit8de6118bd9155190764af55202cb63196128b08e (patch)
treef4ad1d6c7b5a88b9b4332d3ee2a1863a850b31fc /ext/curses
parentddc0d50fa5e840542ca7b5807d177b9295af7f65 (diff)
downloadruby-8de6118bd9155190764af55202cb63196128b08e.tar.gz
ruby-8de6118bd9155190764af55202cb63196128b08e.tar.xz
ruby-8de6118bd9155190764af55202cb63196128b08e.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@4028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses')
-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 94443b45e..2f20bb2ff 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")