diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-21 21:52:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-21 21:52:07 +0200 |
commit | 8da9efaa2894d02a7ff9b5d9707c711d909e904d (patch) | |
tree | 19cfb0ee5aee517887d07ecf3a76670e242813b6 /scripts | |
parent | 4404645c4b980a135411b7e4b13546b15a48d49e (diff) |
allow to build with MacOS X Yosemite and Homebrew.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/scan-tools.sh | 8 |
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 |