mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
- Fixed bug #48608 (Invalid libreadline version not detected during configure)
This commit is contained in:
parent
68bdcd2b59
commit
106f29f805
1 changed files with 7 additions and 0 deletions
|
@ -46,6 +46,13 @@ if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
|
|||
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
|
||||
])
|
||||
|
||||
PHP_CHECK_LIBRARY(readline, rl_pending_input,
|
||||
[], [
|
||||
AC_MSG_ERROR([invalid readline installation detected. Try --with-libedit instead.])
|
||||
], [
|
||||
-L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
|
||||
])
|
||||
|
||||
PHP_CHECK_LIBRARY(readline, rl_callback_read_char,
|
||||
[
|
||||
AC_DEFINE(HAVE_RL_CALLBACK_READ_CHAR, 1, [ ])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue