summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-11-28 23:03:49 +0000
committerfoobar <sniper@php.net>2005-11-28 23:03:49 +0000
commita03df6fef72b47559a40599eee6f45a28dc9099c (patch)
tree7de8f34e28b9909302d75391f596b02091da4ade /ext/readline
parent3cdf23b83032deee377cef762df2a1956edd4478 (diff)
downloadphp-git-a03df6fef72b47559a40599eee6f45a28dc9099c.tar.gz
fix build with libedit
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/config.m4 b/ext/readline/config.m4
index 58d21765c1..da1359ee9c 100644
--- a/ext/readline/config.m4
+++ b/ext/readline/config.m4
@@ -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