blob: 92ec7f6e2969d92264112b11d2a305bc3948d68f [file] [log] [blame] [edit]
--- Python-2.7.12-orig/configure.ac 2016-07-12 14:36:23.497300700 +0300
+++ Python-2.7.12/configure.ac 2016-07-12 14:37:23.329800700 +0300
@@ -4911,9 +4911,16 @@
[Define if you have readline 4.0]), ,$READLINE_LIBS)
# also in 4.0, but not in editline
+case $host in
+ *-*-mingw*)
+ dnl Windows don't have resize terminal signal.
+ ;;
+ *)
AC_CHECK_LIB(readline, rl_resize_terminal,
AC_DEFINE(HAVE_RL_RESIZE_TERMINAL, 1,
[Define if you have readline 4.0]), ,$READLINE_LIBS)
+ ;;
+esac
# check for readline 4.2
AC_CHECK_LIB(readline, rl_completion_matches,