mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-105323: Remove WITH_APPLE_EDITLINE
to use the same declaration for all editline (gh-112513)
This commit is contained in:
parent
8cdfee1bb9
commit
e7e1116a78
4 changed files with 2 additions and 36 deletions
17
configure
generated
vendored
17
configure
generated
vendored
|
@ -23971,7 +23971,6 @@ fi
|
|||
|
||||
|
||||
|
||||
|
||||
# Check whether --with-readline was given.
|
||||
if test ${with_readline+y}
|
||||
then :
|
||||
|
@ -23994,22 +23993,6 @@ else $as_nop
|
|||
fi
|
||||
|
||||
|
||||
# gh-105323: Need to handle the macOS editline as an alias of readline.
|
||||
case $ac_sys_system/$ac_sys_release in #(
|
||||
Darwin/*) :
|
||||
ac_fn_c_check_type "$LINENO" "Function" "ac_cv_type_Function" "#include <readline/readline.h>
|
||||
"
|
||||
if test "x$ac_cv_type_Function" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define WITH_APPLE_EDITLINE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
;; #(
|
||||
*) :
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "x$with_readline" = xreadline
|
||||
then :
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue