mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
improve ncurses check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5064 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4207ba105d
commit
e25497a46d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user