From: Sascha Schumann Date: Mon, 11 Mar 2002 12:56:19 +0000 (+0000) Subject: Use standard PHP shell check syntax X-Git-Tag: help~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26715ba4f6194d62dd33bf36db266ac58506961d;p=php Use standard PHP shell check syntax --- diff --git a/configure.in b/configure.in index c154d5e5ed..618d54a012 100644 --- a/configure.in +++ b/configure.in @@ -605,8 +605,8 @@ if test "$PHP_CONFIG_FILE_PATH" = "DEFAULT"; then fi # compatibility -if test "x$with_pear" = "x" -a "x$enable_pear" = "xno"; then - with_pear=no +if test -z "$with_pear" && test "$enable_pear" = "no"; then + with_pear=no fi PHP_ARG_WITH(pear, [whether to install PEAR, and where], @@ -618,7 +618,7 @@ if test "$PHP_PEAR" != "no"; then PEAR_INSTALLDIR=$PHP_PEAR fi -if test "$PHP_PEAR" = "DEFAULT" -o "x$PHP_PEAR" = "xyes"; then +if test "$PHP_PEAR" = "DEFAULT" || test "$PHP_PEAR" = "yes"; then case $PHP_LAYOUT in GNU) PEAR_INSTALLDIR=$datadir/pear;; *) PEAR_INSTALLDIR=$libdir/php;;