mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.3'
This commit is contained in:
commit
894e78b494
1 changed files with 15 additions and 2 deletions
|
@ -58,13 +58,20 @@ if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
|
|||
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
|
||||
])
|
||||
|
||||
PHP_CHECK_LIBRARY(edit, rl_on_new_line,
|
||||
PHP_CHECK_LIBRARY(readline, rl_on_new_line,
|
||||
[
|
||||
AC_DEFINE(HAVE_RL_ON_NEW_LINE, 1, [ ])
|
||||
],[],[
|
||||
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
|
||||
])
|
||||
|
||||
PHP_CHECK_LIBRARY(readline, rl_completion_matches,
|
||||
[
|
||||
AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ])
|
||||
],[],[
|
||||
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
|
||||
])
|
||||
|
||||
AC_DEFINE(HAVE_LIBREADLINE, 1, [ ])
|
||||
|
||||
elif test "$PHP_LIBEDIT" != "no"; then
|
||||
|
@ -112,11 +119,17 @@ elif test "$PHP_LIBEDIT" != "no"; then
|
|||
-L$READLINE_DIR/$PHP_LIBDIR
|
||||
])
|
||||
|
||||
PHP_CHECK_LIBRARY(edit, rl_completion_matches,
|
||||
[
|
||||
AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ])
|
||||
],[],[
|
||||
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
|
||||
])
|
||||
|
||||
AC_DEFINE(HAVE_LIBEDIT, 1, [ ])
|
||||
fi
|
||||
|
||||
if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then
|
||||
AC_CHECK_FUNCS([rl_completion_matches])
|
||||
PHP_NEW_EXTENSION(readline, readline.c readline_cli.c, $ext_shared, cli)
|
||||
PHP_SUBST(READLINE_SHARED_LIBADD)
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue