From ffa0e13a596b113c9bb7847e0ebd933e0e0e37db Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 18 Nov 2005 15:11:14 +0000 Subject: [PATCH] MFB51: fix build when --with-libedit is used --- ext/readline/config.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ext/readline/config.m4 b/ext/readline/config.m4 index 818eb27722..2ec104c3d4 100644 --- a/ext/readline/config.m4 +++ b/ext/readline/config.m4 @@ -5,8 +5,10 @@ dnl PHP_ARG_WITH(libedit,for libedit readline replacement, [ --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)]) -PHP_ARG_WITH(readline,for readline support, -[ --with-readline[=DIR] Include readline support (CLI/CGI only)]) +if test "$PHP_LIBEDIT" = "no"; then + PHP_ARG_WITH(readline,for readline support, + [ --with-readline[=DIR] Include readline support (CLI/CGI only)]) +fi if test "$PHP_READLINE" != "no"; then for i in $PHP_READLINE /usr/local /usr; do -- 2.50.1