Bug #975 ยป cursesw.patch
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")
|