aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-13 23:19:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-13 23:19:00 +0000
commitdfcaae5b1984db78c5bd881d6c2f8b561e0f0da2 (patch)
treecd08453f5098ea98d613d898184c2a9202eba6c3
parentd16b2dd50e6f036b56df044f25f7200cdcb5a931 (diff)
downloadupstream-dfcaae5b1984db78c5bd881d6c2f8b561e0f0da2.tar.gz
upstream-dfcaae5b1984db78c5bd881d6c2f8b561e0f0da2.tar.bz2
upstream-dfcaae5b1984db78c5bd881d6c2f8b561e0f0da2.zip
improve ncurses check
SVN-Revision: 5064
-rw-r--r--scripts/config/lxdialog/check-lxdialog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config/lxdialog/check-lxdialog.sh b/scripts/config/lxdialog/check-lxdialog.sh
index 275e395422..50c5ff358b 100644
--- a/scripts/config/lxdialog/check-lxdialog.sh
+++ b/scripts/config/lxdialog/check-lxdialog.sh
@@ -34,7 +34,7 @@ ccflags()
elif [ -f /usr/include/ncurses/curses.h ]; then
echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"'
elif [ -f /opt/local/include/ncurses/ncurses.h ]; then
- echo '-I/opt/local/include/ncurses -DCURSES_LOC="<ncurses/ncurses.h>"'
+ echo '-I/opt/local/include -I/opt/local/include/ncurses -DCURSES_LOC="<ncurses/ncurses.h>"'
elif [ -f /usr/include/ncurses.h ]; then
echo '-DCURSES_LOC="<ncurses.h>"'
else