Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Sep 15, 2023
1 parent cd40e26 commit 4cfeb1d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
16 changes: 11 additions & 5 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5831,9 +5831,13 @@ AC_ARG_WITH(
[with_readline=readline]
)

dnl gh-105323: Need to handle the macOS editline as an alias of readline.
AS_CASE([$ac_sys_system/$ac_sys_release],
[Darwin/*], [AX_CHECK_TYPEDEF(Function, readline/readline.h, AC_DEFINE([WITH_APPLE_EDITLINE]))],
[]
)

AS_VAR_IF([with_readline], [readline], [
AX_CHECK_TYPEDEF(Function, readline/readline.h, [,AC_DEFINE([WITH_APPLE_EDITLINE]),])
PKG_CHECK_MODULES([LIBREADLINE], [readline], [
LIBREADLINE=readline
READLINE_CFLAGS=$LIBREADLINE_CFLAGS
Expand Down

0 comments on commit 4cfeb1d

Please sign in to comment.