wxx: Add support for ncurses

We used to support only pdcurses for Windows, but recently Cygwin added
mingw64-i686-ncurses and mingw64-x86_64-ncurses packages which are
supported now, too.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2016-03-16 21:27:25 +01:00
parent 8ff98f1ed2
commit ae6296342a

2
configure vendored
View File

@ -2836,7 +2836,7 @@ fi
# curses probe # curses probe
if test "$curses" != "no" ; then if test "$curses" != "no" ; then
if test "$mingw32" = "yes" ; then if test "$mingw32" = "yes" ; then
curses_list="-lpdcurses" curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lpdcurses"
else else
curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lncurses:-lcurses" curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lncurses:-lcurses"
fi fi