summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-03-11 12:56:19 +0000
committerSascha Schumann <sas@php.net>2002-03-11 12:56:19 +0000
commit26715ba4f6194d62dd33bf36db266ac58506961d (patch)
treea53d2ecde864c56efdd7152bbfdc040562d3b6c3
parenta0a857b9c89c5322d798380e2e292c25c78e96ec (diff)
downloadphp-git-26715ba4f6194d62dd33bf36db266ac58506961d.tar.gz
Use standard PHP shell check syntax
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
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;;