summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-03 02:54:58 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-04-03 02:54:58 +0000
commita70c3239a728ca5c95bd78cd3edfe566e163dfe2 (patch)
treefea8676a5eec21056ae741559cefc5d582c51584 /configure.ac
parentce9f8e249205e4844e9ae45c635e9707b55644de (diff)
downloadcpython-git-a70c3239a728ca5c95bd78cd3edfe566e163dfe2.tar.gz
Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 864b1b9be2..3783b1e482 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4199,6 +4199,11 @@ AC_CHECK_LIB(readline, rl_completion_display_matches_hook,
AC_DEFINE(HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK, 1,
[Define if you have readline 4.0]), ,$READLINE_LIBS)
+# also in 4.0, but not in editline
+AC_CHECK_LIB(readline, rl_resize_terminal,
+ AC_DEFINE(HAVE_RL_RESIZE_TERMINAL, 1,
+ [Define if you have readline 4.0]), ,$READLINE_LIBS)
+
# check for readline 4.2
AC_CHECK_LIB(readline, rl_completion_matches,
AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1,