summaryrefslogtreecommitdiff
path: root/ext/curses/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/curses/extconf.rb')
-rw-r--r--ext/curses/extconf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb
index 442a9424a2..8356241f95 100644
--- a/ext/curses/extconf.rb
+++ b/ext/curses/extconf.rb
@@ -8,6 +8,8 @@ if have_header("ncurses.h") and have_library("ncurses", "initscr")
make=TRUE
elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr")
make=TRUE
+elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr")
+ make=TRUE
else
$CFLAGS=nil
have_library("termcap", "tgetent")