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
16 16
elsif have_header(*curses=%w"curses_colr/curses.h") and have_library("cur_colr", "initscr")
17 17
  curses.unshift("varargs.h")
18 18
  make=true
19
elsif have_header(*curses=%w"curses.h") and have_library("curses", "initscr")
19
elsif have_header(*curses=%w"curses.h") and (have_library("curses", "initscr") || have_library("pdcurses", "initscr"))
20 20
  make=true
21 21
end
22 22