Skip to content

Commit

Permalink
Merge pull request #115 from grapherd/hotfix/ncurses_button_color
Browse files Browse the repository at this point in the history
kconfig/lxdialog: Fixed menuconfig button color
  • Loading branch information
danielinux authored Jan 25, 2017
2 parents 519bcc9 + 0654ad9 commit a8925c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kconfig/lxdialog/check-lxdialog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ ldflags()
# Where is ncurses.h?
ccflags()
{
if [ -f /usr/include/ncursesw/curses.h ]; then
if pkg-config --cflags ncursesw 2>/dev/null; then
echo '-DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1'
elif pkg-config --cflags ncurses 2>/dev/null; then
echo '-DCURSES_LOC="<ncurses.h>"'
elif [ -f /usr/include/ncursesw/curses.h ]; then
echo '-I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"'
echo ' -DNCURSES_WIDECHAR=1'
elif [ -f /usr/include/ncurses/ncurses.h ]; then
Expand Down

0 comments on commit a8925c4

Please sign in to comment.