1 --- ncmpcpp-0.5.4.old/configure.in 2010-08-16 14:55:25.000000000 +0200
2 +++ ncmpcpp-0.5.4/configure.in 2010-08-16 14:56:26.000000000 +0200
4 dnl ========================
5 if test "$pdcurses" = "no" ; then
6 if test "$unicode" = "yes" ; then
7 - curses_config_bin=ncursesw5-config
8 + curses_config_bin="ncursesw6-config ncursesw5-config"
9 AC_DEFINE([_UTF8], [1], [enables unicode support])
11 - curses_config_bin=ncurses5-config
12 + curses_config_bin="ncurses6-config ncurses5-config"
15 if test "$pdcurses" = "yes" ; then
18 AC_DEFINE([USE_PDCURSES], [1], [enables pdcurses support])
20 -AC_PATH_PROG(CURSES_CONFIG, $curses_config_bin)
21 +AC_PATH_PROGS(CURSES_CONFIG, $curses_config_bin)
22 if test "$CURSES_CONFIG" != "" ; then
23 CPPFLAGS="$CPPFLAGS `$CURSES_CONFIG --cflags`"
24 LDFLAGS="$LDFLAGS `$CURSES_CONFIG --libs`"