File tree Expand file tree Collapse file tree 4 files changed +14
-16
lines changed Expand file tree Collapse file tree 4 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 1- /* Define to 1 if edit/readline library has the 'history_list' function. */
1+ /* Define to 1 if edit library has the 'history_list' function. */
22#cmakedefine HAVE_HISTORY_LIST 1
33
4- /* Define to 1 if readline extension uses the 'libedit' library. */
4+ /* Define to 1 if PHP uses the 'libedit' library. */
55#cmakedefine HAVE_LIBEDIT 1
66
7- /* Define to 1 if readline extension uses the 'readline' library. */
7+ /* Define to 1 if PHP uses the 'readline' library. */
88#cmakedefine HAVE_LIBREADLINE 1
99
10- /* Define to 1 if edit/readline library has the 'rl_callback_read_char'
11- function. */
10+ /* Define to 1 if edit library has the 'rl_callback_read_char' function. */
1211#cmakedefine HAVE_RL_CALLBACK_READ_CHAR 1
1312
14- /* Define to 1 if edit/readline library has the 'rl_completion_matches'
15- function. */
13+ /* Define to 1 if edit library has the 'rl_completion_matches' function. */
1614#cmakedefine HAVE_RL_COMPLETION_MATCHES 1
1715
18- /* Define to 1 if edit/ readline library has the 'rl_on_new_line' function. */
16+ /* Define to 1 if readline library has the 'rl_on_new_line' function. */
1917#cmakedefine HAVE_RL_ON_NEW_LINE 1
Original file line number Diff line number Diff line change 259259/* Define to 1 if you have the 'dl' library (-ldl). */
260260#cmakedefine HAVE_LIBDL 1
261261
262- /* Define to 1 if system has the 'libedit' library. */
263- #cmakedefine HAVE_LIBEDIT 1
264-
265- /* Define to 1 if system has the 'readline' library. */
266- #cmakedefine HAVE_LIBREADLINE 1
267-
268262/* Define to 1 if you have the <linux/sock_diag.h> header file. */
269263#cmakedefine HAVE_LINUX_SOCK_DIAG_H 1
270264
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ if(SAPI_PHPDBG_READLINE OR EXT_READLINE)
133133
134134 target_link_libraries (php_phpdbg PRIVATE Readline::Readline)
135135
136- set (HAVE_LIBREADLINE 1 CACHE INTERNAL "Whether the readline is available" )
136+ set (HAVE_LIBREADLINE)
137137 else ()
138138 find_package (Editline)
139139 set_package_properties(
@@ -145,7 +145,7 @@ if(SAPI_PHPDBG_READLINE OR EXT_READLINE)
145145
146146 target_link_libraries (php_phpdbg PRIVATE Editline::Editline)
147147
148- set (HAVE_LIBEDIT 1 CACHE INTERNAL "Whether the libedit is available" )
148+ set (HAVE_LIBEDIT 1)
149149 endif ()
150150
151151 set (HAVE_PHPDBG_READLINE 1)
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+
7+ /* Define to 1 if PHP uses the 'readline' library. */
8+ #cmakedefine HAVE_LIBREADLINE 1
9+
410/* Define to 1 if the phpdbg SAPI has libedit/readline integration. */
511#cmakedefine HAVE_PHPDBG_READLINE 1
612
You can’t perform that action at this time.
0 commit comments