fix build with libedit

This commit is contained in:
foobar 2005-11-28 23:03:49 +00:00
parent 3cdf23b830
commit a03df6fef7

View file

@ -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