summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-09-04 13:13:14 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-09-04 13:13:14 (GMT)
commit58bd49f5fec11751806d869a8479f59e13d2d558 (patch)
treeb26bfc9be3dd4d37d196ab97cd5008e0891f2a50 /configure.in
parentaf699dd621e83a1569e7325a8d80f54b6585ea6d (diff)
downloadcpython-58bd49f5fec11751806d869a8479f59e13d2d558.zip
cpython-58bd49f5fec11751806d869a8479f59e13d2d558.tar.gz
cpython-58bd49f5fec11751806d869a8479f59e13d2d558.tar.bz2
Patch #1388440: Add set_completion_display_matches_hook and
get_completion_type to readline.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index dd8e117..7480ee6 100644
--- a/configure.in
+++ b/configure.in
@@ -3137,6 +3137,11 @@ AC_CHECK_LIB(readline, rl_pre_input_hook,
AC_DEFINE(HAVE_RL_PRE_INPUT_HOOK, 1,
[Define if you have readline 4.0]), , )
+# also in 4.0
+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]), , )
+
# check for readline 4.2
AC_CHECK_LIB(readline, rl_completion_matches,
AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1,