Project

General

Profile

Backport #6772 ยป ext-curses-accept-pdcurses.diff

luislavena (Luis Lavena), 07/22/2012 11:22 PM

View differences:

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
    (1-1/1)