From 8da9efaa2894d02a7ff9b5d9707c711d909e904d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 21 Oct 2014 21:52:07 +0200 Subject: allow to build with MacOS X Yosemite and Homebrew. --- scripts/scan-tools.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scripts/scan-tools.sh') diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 93cd1dd70..8654d0d07 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -157,9 +157,11 @@ fi if [[ ! -s /usr/include/ncurses.h ]]; then if [[ ! -s /usr/include/curses.h ]]; then if [[ ! -s /usr/include/ncurses/ncurses.h ]]; then - echo Install ncurses header files, please. - echo - out=1 + if [[ ! -s /usr/local/opt/ncurses/include/ncursesw/ncurses.h ]]; then + echo Install ncurses header files, please. + echo + out=1 + fi fi fi fi -- cgit v1.2.3