]> granicus.if.org Git - php/commitdiff
fix build with libedit
authorfoobar <sniper@php.net>
Mon, 28 Nov 2005 23:03:49 +0000 (23:03 +0000)
committerfoobar <sniper@php.net>
Mon, 28 Nov 2005 23:03:49 +0000 (23:03 +0000)
ext/readline/config.m4

index 58d21765c14796daebb5201b11efe5a3b27c7685..da1359ee9cde31e9a5d58b600ae7ae9cbd14579f 100644 (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