summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-21 21:52:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-21 21:52:07 +0200
commit8da9efaa2894d02a7ff9b5d9707c711d909e904d (patch)
tree19cfb0ee5aee517887d07ecf3a76670e242813b6 /scripts
parent4404645c4b980a135411b7e4b13546b15a48d49e (diff)
allow to build with MacOS X Yosemite and Homebrew.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-tools.sh8
1 files changed, 5 insertions, 3 deletions
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