aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-02-27 20:23:30 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-03-06 20:22:00 +0100
commite095e2f3b47ced1ced72f3f2c72260e55f39903b (patch)
treefd229c4a9acb60526a53d9c5bd36930ebfd20cf1
parentcc68890166c2c1c5003e3eeb8535e1872e239a95 (diff)
w32: Add support for curses
MinGW optionally includes pdcurses, so add support for it. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 3036faf331..ef51a5819c 100755
--- a/configure
+++ b/configure
@@ -1561,7 +1561,11 @@ fi
##########################################
# curses probe
-curses_list="-lncurses -lcurses"
+if test "$mingw32" = "yes" ; then
+ curses_list="-lpdcurses"
+else
+ curses_list="-lncurses -lcurses"
+fi
if test "$curses" != "no" ; then
curses_found=no