summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-09-30 21:09:59 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-09-30 21:09:59 (GMT)
commit0daad598d0947395248f087c2aa347083f440e36 (patch)
treef102f904cd0d76c2ccf2304cc5b630640c2b3646 /configure.in
parent16dc7f44b1116aab58897bc7e94cb972488206fc (diff)
downloadcpython-0daad598d0947395248f087c2aa347083f440e36.zip
cpython-0daad598d0947395248f087c2aa347083f440e36.tar.gz
cpython-0daad598d0947395248f087c2aa347083f440e36.tar.bz2
Patch #462122: add readline startup and pre_event hooks.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 31412a1..d8fffc0 100644
--- a/configure.in
+++ b/configure.in
@@ -1832,6 +1832,10 @@ then
AC_DEFINE(HAVE_GETC_UNLOCKED)
fi
+# check for readline 4.0
+AC_CHECK_LIB(readline, rl_pre_input_hook,
+ AC_DEFINE(HAVE_RL_PRE_INPUT_HOOK), , -ltermcap)
+
# check for readline 4.2
AC_CHECK_LIB(readline, rl_completion_matches,
AC_DEFINE(HAVE_RL_COMPLETION_MATCHES), , -ltermcap)