This project is closed and read-only.
Backport #6772 ยป ext-curses-accept-pdcurses.diff
| ext/curses/extconf.rb | ||
|---|---|---|
|
elsif have_header(*curses=%w"curses_colr/curses.h") and have_library("cur_colr", "initscr")
|
||
|
curses.unshift("varargs.h")
|
||
|
make=true
|
||
|
elsif have_header(*curses=%w"curses.h") and have_library("curses", "initscr")
|
||
|
elsif have_header(*curses=%w"curses.h") and (have_library("curses", "initscr") || have_library("pdcurses", "initscr"))
|
||
|
make=true
|
||
|
end
|
||