File tree Expand file tree Collapse file tree 4 files changed +10
-13
lines changed Expand file tree Collapse file tree 4 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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)
138137else ()
139138 message (CHECK_FAIL "disabled" )
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments