aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-03-16 21:27:25 +0100
committerStefan Weil <sw@weilnetz.de>2016-03-22 19:17:38 +0100
commitae6296342a1e0785cafd6ce2530f022d187e20e7 (patch)
treeb60af1323f18e06bcd185cef87750bfbcb366741
parent8ff98f1ed2f50cd05c3c5027c7efdf69859ec664 (diff)
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>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b88d0dbbf9..f4a03b89e5 100755
--- a/configure
+++ b/configure
@@ -2836,7 +2836,7 @@ fi
# curses probe
if test "$curses" != "no" ; then
if test "$mingw32" = "yes" ; then
- curses_list="-lpdcurses"
+ curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lpdcurses"
else
curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lncurses:-lcurses"
fi