From 807b0cdb9177acc6fb03ec225d83f4601d36740f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Wed, 17 Jun 2015 00:18:51 +0200 Subject: [PATCH] Support custom ncurses location Adds option --with-ncurses-dir={path} to specify location for ncurses libs and include files. --- extconf.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extconf.rb b/extconf.rb index 0e355d7..51969a8 100644 --- a/extconf.rb +++ b/extconf.rb @@ -25,6 +25,8 @@ $CFLAGS += " -g -Wformat -Werror=format-security -Waddress" +dir_config("ncurses") + have_header("unistd.h") have_header("locale.h")