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
commitd2c3551dfb8c0423f8b352d2ee645a65a1b150ac (patch)
tree47a78adf461128832ef1e117ffb579d396d13f18
parent979633daa39e77fea40f6b7285593b1e12ad4b5a (diff)
downloadupstream-d2c3551dfb8c0423f8b352d2ee645a65a1b150ac.tar.gz
upstream-d2c3551dfb8c0423f8b352d2ee645a65a1b150ac.tar.bz2
upstream-d2c3551dfb8c0423f8b352d2ee645a65a1b150ac.zip
improve ncurses check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5064 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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