From: foobar Date: Mon, 28 Nov 2005 23:03:49 +0000 (+0000) Subject: fix build with libedit X-Git-Tag: RELEASE_2_0_2~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a03df6fef72b47559a40599eee6f45a28dc9099c;p=php fix build with libedit --- 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