improve ncurses check
authorFelix Fietkau <nbd@openwrt.org>
Fri, 13 Oct 2006 23:19:00 +0000 (23:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 13 Oct 2006 23:19:00 +0000 (23:19 +0000)
SVN-Revision: 5064

scripts/config/lxdialog/check-lxdialog.sh

index 275e39542296abf87a603273f3d902a9b5d6eaa2..50c5ff358b8296e13edb58cde88caf148ae68350 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