diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2016-04-03 23:58:50 -0400 |
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-03 23:58:50 -0400 |
| commit | 993dab78220d9dce42c45c8cecba23706735c860 (patch) | |
| tree | a52612b9c760dce021ac8ae3931970ffefa9b032 /scripts | |
| parent | b22061718db0111f9e7474f9b60aef02456ac070 (diff) | |
| download | busybox-w32-993dab78220d9dce42c45c8cecba23706735c860.tar.gz busybox-w32-993dab78220d9dce42c45c8cecba23706735c860.tar.bz2 busybox-w32-993dab78220d9dce42c45c8cecba23706735c860.zip | |
Revert "lxdialog: fix ncursesw include detection"
This reverts commit e91bc53d0c2e8de7dc4fbdb888ab0a4923c2b475.
Let's get back to a state that matches upstream so we can pull in all of
their fixes from the last few years.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/lxdialog/check-lxdialog.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh index d34dfd46d..fcef0f59d 100644 --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh | |||
| @@ -19,11 +19,7 @@ ldflags() | |||
| 19 | # Where is ncurses.h? | 19 | # Where is ncurses.h? |
| 20 | ccflags() | 20 | ccflags() |
| 21 | { | 21 | { |
| 22 | if [ -f /usr/include/ncursesw/ncurses.h ]; then | 22 | if [ -f /usr/include/ncurses/ncurses.h ]; then |
| 23 | echo '-I/usr/include/ncursesw -DCURSES_LOC="<ncurses.h>"' | ||
| 24 | elif [ -f /usr/include/ncursesw/curses.h ]; then | ||
| 25 | echo '-I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>"' | ||
| 26 | elif [ -f /usr/include/ncurses/ncurses.h ]; then | ||
| 27 | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"' | 23 | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"' |
| 28 | elif [ -f /usr/include/ncurses/curses.h ]; then | 24 | elif [ -f /usr/include/ncurses/curses.h ]; then |
| 29 | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"' | 25 | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"' |
