summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-11-27 22:59:54 +0000
committerAntony Dovgal <tony2001@php.net>2005-11-27 22:59:54 +0000
commit5a606e0be3117d3f1d0a0cc1903dee654130d2a2 (patch)
tree24ea644f0cc72d64e70f2ad1e9791d3e5c0a947c
parentb4dd85ff46dcc115bf03d04f42af2cf263687998 (diff)
downloadphp-git-5a606e0be3117d3f1d0a0cc1903dee654130d2a2.tar.gz
use || instead of -o to support weird systems with old `test`
-rw-r--r--ext/pdo_sqlite/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4
index a765191702..1983bae5eb 100644
--- a/ext/pdo_sqlite/config.m4
+++ b/ext/pdo_sqlite/config.m4
@@ -94,7 +94,7 @@ if test "$PHP_PDO_SQLITE" != "no"; then
touch $ext_srcdir/sqlite/src/parse.c $ext_srcdir/sqlite/src/parse.h
- if test "$ext_shared" = "no" -o "$ext_srcdir" != "$abs_srcdir"; then
+ if test "$ext_shared" = "no" || test "$ext_srcdir" != "$abs_srcdir"; then
echo '#include <php_config.h>' > $ext_srcdir/sqlite/src/config.h
else
echo "#include \"$abs_builddir/config.h\"" > $ext_srcdir/sqlite/src/config.h