21 lines
653 B
Diff
21 lines
653 B
Diff
diff -Naur Python-3.6.5-orig/configure.ac Python-3.6.5/configure.ac
|
|
--- Python-3.6.5-orig/configure.ac 2018-04-16 09:54:40.564804500 +0300
|
|
+++ Python-3.6.5/configure.ac 2018-04-16 09:55:02.075609100 +0300
|
|
@@ -5106,9 +5106,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,
|