From a03df6fef72b47559a40599eee6f45a28dc9099c Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 28 Nov 2005 23:03:49 +0000 Subject: [PATCH] fix build with libedit --- ext/readline/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1