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