Skip to content

Commit cff9bbe

Browse files
committed
Merge branch 'PHP-8.4'
2 parents 0a2e827 + 729af5b commit cff9bbe

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
/* Define to 1 if edit/readline library has the 'rl_erase_empty_line' global
1+
/* Define to 1 if edit library has the 'rl_erase_empty_line' global
22
variable. */
33
#cmakedefine HAVE_ERASE_EMPTY_LINE 1
44

5-
/* Define to 1 if edit/readline library has the 'history_list' function. */
5+
/* Define to 1 if edit library has the 'history_list' function. */
66
#cmakedefine HAVE_HISTORY_LIST 1
77

8-
/* Define to 1 if readline extension uses the 'libedit' library. */
8+
/* Define to 1 if PHP uses the 'libedit' library. */
99
#cmakedefine HAVE_LIBEDIT 1
1010

11-
/* Define to 1 if edit/readline library has the 'rl_callback_read_char'
12-
function. */
11+
/* Define to 1 if edit library has the 'rl_callback_read_char' function. */
1312
#cmakedefine HAVE_RL_CALLBACK_READ_CHAR 1
1413

15-
/* Define to 1 if edit/readline library has the 'rl_completion_matches'
16-
function. */
14+
/* Define to 1 if edit library has the 'rl_completion_matches' function. */
1715
#cmakedefine HAVE_RL_COMPLETION_MATCHES 1
1816

19-
/* Define to 1 if edit/readline library has the 'rl_on_new_line' function. */
17+
/* Define to 1 if edit library has the 'rl_on_new_line' function. */
2018
#cmakedefine HAVE_RL_ON_NEW_LINE 1

cmake/main/php_config.cmake.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,6 @@
237237
/* Define to 1 if you have the 'dl' library (-ldl). */
238238
#cmakedefine HAVE_LIBDL 1
239239

240-
/* Define to 1 if system has the 'libedit' library. */
241-
#cmakedefine HAVE_LIBEDIT 1
242-
243240
/* Define to 1 if you have the <linux/sock_diag.h> header file. */
244241
#cmakedefine HAVE_LINUX_SOCK_DIAG_H 1
245242

cmake/sapi/phpdbg/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ if(SAPI_PHPDBG_READLINE OR EXT_READLINE)
132132

133133
target_link_libraries(php_phpdbg PRIVATE Editline::Editline)
134134

135-
set(HAVE_LIBEDIT 1 CACHE INTERNAL "Whether the libedit is available")
136-
135+
set(HAVE_LIBEDIT)
137136
set(HAVE_PHPDBG_READLINE 1)
138137
else()
139138
message(CHECK_FAIL "disabled")

cmake/sapi/phpdbg/config.cmake.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/* Define to 1 if 'TIOCGWINSZ' requires <sys/ioctl.h>. */
22
#cmakedefine GWINSZ_IN_SYS_IOCTL 1
33

4+
/* Define to 1 if PHP uses the 'libedit' library. */
5+
#cmakedefine HAVE_LIBEDIT 1
6+
47
/* Define to 1 if the phpdbg SAPI has libedit/readline integration. */
58
#cmakedefine HAVE_PHPDBG_READLINE 1
69

0 commit comments

Comments
 (0)