From cd0a61ce99281ccf2e6f5a9f2f1ce9adffa8d571 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 14 Sep 2024 12:59:53 +0200 Subject: [PATCH 1/2] Remove GNU Readline in favor of libedit The libedit library is a non-GPL replacement for the GNU Readline library. --- reference/readline/book.xml | 4 ++-- reference/readline/configure.xml | 32 +++++++++++++++++++++++--- reference/readline/constants.xml | 39 ++++++++++++++++++++------------ reference/readline/setup.xml | 10 ++------ 4 files changed, 58 insertions(+), 27 deletions(-) diff --git a/reference/readline/book.xml b/reference/readline/book.xml index 5e2822d96e51..eb02e3b4fa35 100644 --- a/reference/readline/book.xml +++ b/reference/readline/book.xml @@ -3,7 +3,7 @@ - GNU Readline + Readline Readline @@ -11,7 +11,7 @@ &reftitle.intro; The readline functions implement an interface - to the GNU Readline library. These are functions that provide + to the libedit library. These are functions that provide editable command lines. An example being the way Bash allows you to use the arrow keys to insert characters or scroll through command history. Because of the interactive nature of this diff --git a/reference/readline/configure.xml b/reference/readline/configure.xml index 99ae53e3c2b3..52725b0bf992 100644 --- a/reference/readline/configure.xml +++ b/reference/readline/configure.xml @@ -5,13 +5,39 @@ To use these functions you must compile the CGI or CLI version of PHP with readline support. You need to configure PHP - . - If you want to use the libedit readline replacement, configure PHP - . + . On Windows this extension is available by default as of PHP 7.1.0. + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.4.0 + + Configure option + has been removed in favor of the + which now doesn't + accept a DIR argument anymore in favor of the pkg-config and now links + to the libedit library, a non-GPL replacement for the GNU Readline + library. + + + + + + +