--- ncmpcpp-0.5.4.old/configure.in 2010-08-16 14:55:25.000000000 +0200 +++ ncmpcpp-0.5.4/configure.in 2010-08-16 14:56:26.000000000 +0200 @@ -93,10 +93,10 @@ dnl ======================== if test "$pdcurses" = "no" ; then if test "$unicode" = "yes" ; then - curses_config_bin=ncursesw5-config + curses_config_bin="ncursesw6-config ncursesw5-config" AC_DEFINE([_UTF8], [1], [enables unicode support]) else - curses_config_bin=ncurses5-config + curses_config_bin="ncurses6-config ncurses5-config" fi else if test "$pdcurses" = "yes" ; then @@ -107,7 +107,7 @@ fi AC_DEFINE([USE_PDCURSES], [1], [enables pdcurses support]) fi -AC_PATH_PROG(CURSES_CONFIG, $curses_config_bin) +AC_PATH_PROGS(CURSES_CONFIG, $curses_config_bin) if test "$CURSES_CONFIG" != "" ; then CPPFLAGS="$CPPFLAGS `$CURSES_CONFIG --cflags`" LDFLAGS="$LDFLAGS `$CURSES_CONFIG --libs`"