improve ncurses check

SVN-Revision: 5064
owl
Felix Fietkau 2006-10-13 23:19:00 +00:00
parent d16b2dd50e
commit dfcaae5b19
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ ccflags()
elif [ -f /usr/include/ncurses/curses.h ]; then elif [ -f /usr/include/ncurses/curses.h ]; then
echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"' echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"'
elif [ -f /opt/local/include/ncurses/ncurses.h ]; then 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 elif [ -f /usr/include/ncurses.h ]; then
echo '-DCURSES_LOC="<ncurses.h>"' echo '-DCURSES_LOC="<ncurses.h>"'
else else