Project

General

Profile

Bug #975 ยป cursesw.patch

a patch to add transparent multibyte support with ncurses - hramrach (Michal Suchanek), 01/04/2009 03:18 AM

View differences:

ext/curses/extconf.rb 2009-01-03 18:58:19.000000000 +0100
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")
if have_header(*curses=%w"ncurses.h") and
( have_library("ncursesw", "initscr") or have_library("ncurses", "initscr") )
make=true
elsif have_header(*curses=%w"ncurses/curses.h") and have_library("ncurses", "initscr")
elsif have_header(*curses=%w"ncurses/curses.h") and
( have_library("ncursesw", "initscr") or have_library("ncurses", "initscr") )
make=true
elsif have_header(*curses=%w"curses_colr/curses.h") and have_library("cur_colr", "initscr")
curses.unshift("varargs.h")
    (1-1/1)