diff options
author | Mike Frysinger | 2016-04-03 23:58:50 -0400 |
---|---|---|
committer | Mike Frysinger | 2016-04-03 23:58:50 -0400 |
commit | 993dab78220d9dce42c45c8cecba23706735c860 (patch) | |
tree | a52612b9c760dce021ac8ae3931970ffefa9b032 | |
parent | b22061718db0111f9e7474f9b60aef02456ac070 (diff) | |
download | busybox-993dab78220d9dce42c45c8cecba23706735c860.zip busybox-993dab78220d9dce42c45c8cecba23706735c860.tar.gz |
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>
-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 d34dfd4..fcef0f5 100644 --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh @@ -19,11 +19,7 @@ ldflags() # Where is ncurses.h? ccflags() { - if [ -f /usr/include/ncursesw/ncurses.h ]; then - echo '-I/usr/include/ncursesw -DCURSES_LOC="<ncurses.h>"' - elif [ -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 + if [ -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>"' |