diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-09-30 21:09:59 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-09-30 21:09:59 (GMT) |
commit | 0daad598d0947395248f087c2aa347083f440e36 (patch) | |
tree | f102f904cd0d76c2ccf2304cc5b630640c2b3646 /configure.in | |
parent | 16dc7f44b1116aab58897bc7e94cb972488206fc (diff) | |
download | cpython-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.in | 4 |
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) |