kconfig: check ncursesw headers first in check-lxdialog
No binary (build failed)
—
(log yok)
| @@ -19,12 +19,12 @@ ldflags() | |
| # Where is ncurses.h? | |
| ccflags() | |
| { | |
| - | if [ -f /usr/include/ncurses/ncurses.h ]; then |
| + | if [ -f /usr/include/ncursesw/curses.h ]; then |
| + | echo '-I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>"' |
| + | elif [ -f /usr/include/ncurses/ncurses.h ]; then |
| echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"' | |
| elif [ -f /usr/include/ncurses/curses.h ]; then | |
| echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"' | |
| - | elif [ -f /usr/include/ncursesw/curses.h ]; then |
| - | echo '-I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>"' |
| elif [ -f /usr/include/ncurses.h ]; then | |
| echo '-DCURSES_LOC="<ncurses.h>"' | |
| else | |