summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger2016-04-03 23:58:50 -0400
committerMike Frysinger2016-04-03 23:58:50 -0400
commit993dab78220d9dce42c45c8cecba23706735c860 (patch)
treea52612b9c760dce021ac8ae3931970ffefa9b032
parentb22061718db0111f9e7474f9b60aef02456ac070 (diff)
downloadbusybox-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.sh6
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>"'