improve ncurses check
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Oct 2006 23:19:00 +0000 (23:19 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Oct 2006 23:19:00 +0000 (23:19 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5064 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/config/lxdialog/check-lxdialog.sh

index 275e395..50c5ff3 100644 (file)
@@ -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
This page took 0.023688 seconds and 4 git commands to generate.