diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-11-26 20:35:12 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-11-26 20:35:12 (GMT) |
commit | d1e22ba7db9d8668c486eb77999bbbbdca8b09d3 (patch) | |
tree | 6a5b823ea0994796e3a3abd5489b4056cfd273b7 /configure.ac | |
parent | 810aa6db3472e48e182b185cc4375615977c85f5 (diff) | |
download | cpython-d1e22ba7db9d8668c486eb77999bbbbdca8b09d3.zip cpython-d1e22ba7db9d8668c486eb77999bbbbdca8b09d3.tar.gz cpython-d1e22ba7db9d8668c486eb77999bbbbdca8b09d3.tar.bz2 |
only support append_history if readline has it
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 05dc0e6..c12622b 100644 --- a/configure.ac +++ b/configure.ac @@ -4308,6 +4308,10 @@ then [Define if you can turn off readline's signal handling.]), ) fi +AC_CHECK_LIB(readline, append_history, + AC_DEFINE(HAVE_RL_APPEND_HISTORY, 1, + [Define if readline supports append_history]), ,$READLINE_LIBS) + # End of readline checks: restore LIBS LIBS=$LIBS_no_readline |