]> granicus.if.org Git - php/commitdiff
Use standard PHP shell check syntax
authorSascha Schumann <sas@php.net>
Mon, 11 Mar 2002 12:56:19 +0000 (12:56 +0000)
committerSascha Schumann <sas@php.net>
Mon, 11 Mar 2002 12:56:19 +0000 (12:56 +0000)
configure.in

index c154d5e5ed7d44bf5ab530daea559fa41f2569eb..618d54a0122ce471e94a2df7a3e45f2e37f96bde 100644 (file)
@@ -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;;