cursesw.patch
| ext/curses/extconf.rb 2009-01-03 18:58:19.000000000 +0100 | ||
|---|---|---|
| 8 | 8 |
headers = [] |
| 9 | 9 |
have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM
|
| 10 | 10 |
have_library("tinfo", "tgetent") or have_library("termcap", "tgetent")
|
| 11 |
if have_header(*curses=%w"ncurses.h") and have_library("ncurses", "initscr")
|
|
| 11 |
if have_header(*curses=%w"ncurses.h") and |
|
| 12 |
( have_library("ncursesw", "initscr") or have_library("ncurses", "initscr") )
|
|
| 12 | 13 |
make=true |
| 13 |
elsif have_header(*curses=%w"ncurses/curses.h") and have_library("ncurses", "initscr")
|
|
| 14 |
elsif have_header(*curses=%w"ncurses/curses.h") and |
|
| 15 |
( have_library("ncursesw", "initscr") or have_library("ncurses", "initscr") )
|
|
| 14 | 16 |
make=true |
| 15 | 17 |
elsif have_header(*curses=%w"curses_colr/curses.h") and have_library("cur_colr", "initscr")
|
| 16 | 18 |
curses.unshift("varargs.h")
|