mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
fix build with libedit
This commit is contained in:
parent
3cdf23b830
commit
a03df6fef7
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ if test "$PHP_LIBEDIT" = "no"; then
|
|||
[ --with-readline[=DIR] Include readline support (CLI/CGI only)])
|
||||
fi
|
||||
|
||||
if test "$PHP_READLINE" != "no"; then
|
||||
if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
|
||||
for i in $PHP_READLINE /usr/local /usr; do
|
||||
test -f $i/include/readline/readline.h && READLINE_DIR=$i && break
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue