mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-109191: Fix build with newer editline (gh-110239)
This commit is contained in:
parent
12cc6792d0
commit
f4cb0d27cc
5 changed files with 31 additions and 1 deletions
|
|
@ -5999,6 +5999,13 @@ AS_VAR_IF([with_readline], [no], [
|
|||
AC_DEFINE([HAVE_RL_APPEND_HISTORY], [1], [Define if readline supports append_history])
|
||||
])
|
||||
|
||||
# in readline as well as newer editline (April 2023)
|
||||
AC_CHECK_TYPE([rl_compdisp_func_t],
|
||||
[AC_DEFINE([HAVE_RL_COMPDISP_FUNC_T], [1],
|
||||
[Define if readline supports rl_compdisp_func_t])],
|
||||
[],
|
||||
[readline_includes])
|
||||
|
||||
m4_undefine([readline_includes])
|
||||
])dnl WITH_SAVE_ENV()
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue