Revert "lxdialog: fix ncursesw include detection"
authorMike Frysinger <vapier@gentoo.org>
Mon, 4 Apr 2016 03:58:50 +0000 (23:58 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 4 Apr 2016 03:58:50 +0000 (23:58 -0400)
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>
scripts/kconfig/lxdialog/check-lxdialog.sh

index d34dfd46d902e112f8dae7278f28f71555f38746..fcef0f59d5539c61499e70d2566ccc0c492da90a 100644 (file)
@@ -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>"'