-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-105323: Update readline module to detect apple editline variant #108665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 12 commits
868cb8a
4266177
08b7a97
23c4660
33b01c5
0220538
3465ca4
9b9b8c7
b8a99f8
d1039b5
cd40e26
4cfeb1d
b9800d9
dfcbae0
501f1a4
33ad827
2201f75
abbe94b
a6bcd03
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5814,6 +5814,7 @@ dnl library (tinfo ncursesw ncurses termcap). We now assume that libreadline | |
dnl or readline.pc provide correct linker information. | ||
|
||
AH_TEMPLATE([WITH_EDITLINE], [Define to build the readline module against libedit.]) | ||
AH_TEMPLATE([WITH_APPLE_EDITLINE], [Define to build the readline module against Apple BSD editline.]) | ||
|
||
AC_ARG_WITH( | ||
[readline], | ||
|
@@ -5830,6 +5831,12 @@ AC_ARG_WITH( | |
[with_readline=readline] | ||
) | ||
|
||
dnl gh-105323: Need to handle the macOS editline as an alias of readline. | ||
erlend-aasland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
AS_CASE([$ac_sys_system/$ac_sys_release], | ||
[Darwin/*], [AX_CHECK_TYPEDEF(Function, readline/readline.h, AC_DEFINE([WITH_APPLE_EDITLINE]))], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @erlend-aasland cc @ronaldoussoren I am not sure why AC_DEFINE([WITH_APPLE_EDITLINE]) is not generated in configure file.
|
||
[] | ||
) | ||
|
||
AS_VAR_IF([with_readline], [readline], [ | ||
PKG_CHECK_MODULES([LIBREADLINE], [readline], [ | ||
LIBREADLINE=readline | ||
|
Uh oh!
There was an error while loading. Please reload this page.