]>
Commit | Line | Data |
---|---|---|
2ebbdea4 JP |
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 | |
3 | @@ -93,10 +93,10 @@ | |
b9d8c4fd | 4 | dnl ======================== |
9ab1982b | 5 | if test "$pdcurses" = "no" ; then |
9ab1982b JP |
6 | if test "$unicode" = "yes" ; then |
7 | - curses_config_bin=ncursesw5-config | |
2ebbdea4 | 8 | + curses_config_bin="ncursesw6-config ncursesw5-config" |
9ab1982b JP |
9 | AC_DEFINE([_UTF8], [1], [enables unicode support]) |
10 | else | |
2ebbdea4 JP |
11 | - curses_config_bin=ncurses5-config |
12 | + curses_config_bin="ncurses6-config ncurses5-config" | |
13 | fi | |
14 | else | |
15 | if test "$pdcurses" = "yes" ; then | |
16 | @@ -107,7 +107,7 @@ | |
17 | fi | |
18 | AC_DEFINE([USE_PDCURSES], [1], [enables pdcurses support]) | |
19 | fi | |
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`" |