mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +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)])
|
[ --with-readline[=DIR] Include readline support (CLI/CGI only)])
|
||||||
fi
|
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
|
for i in $PHP_READLINE /usr/local /usr; do
|
||||||
test -f $i/include/readline/readline.h && READLINE_DIR=$i && break
|
test -f $i/include/readline/readline.h && READLINE_DIR=$i && break
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue