gh-105323: Update readline module to detect apple editline variant (gh-108665)

This commit is contained in:
Donghee Na 2023-09-29 21:18:18 +09:00 committed by GitHub
parent db0a258e79
commit 501939c9c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 3 deletions

17
configure generated vendored
View file

@ -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 :