diff options
author | Donghee Na <donghee.na@python.org> | 2023-09-29 12:18:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 12:18:18 (GMT) |
commit | 501939c9c1433c5b95ca19ae752e5881149f61b9 (patch) | |
tree | c2243227417c43ac74ec13c30b676cff550d0274 /configure | |
parent | db0a258e796703e12befea9d6dec04e349ca2f5b (diff) | |
download | cpython-501939c9c1433c5b95ca19ae752e5881149f61b9.zip cpython-501939c9c1433c5b95ca19ae752e5881149f61b9.tar.gz cpython-501939c9c1433c5b95ca19ae752e5881149f61b9.tar.bz2 |
gh-105323: Update readline module to detect apple editline variant (gh-108665)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -23781,6 +23781,7 @@ fi + # Check whether --with-readline was given. if test ${with_readline+y} then : @@ -23803,6 +23804,22 @@ 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 : |