Browse Source

MF51: use || instead of -o to support weird systems with old `test`

migration/RELEASE_1_0_0
Antony Dovgal 21 years ago
parent
commit
e7f4360f2e
  1. 2
      ext/pdo_sqlite/config.m4

2
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 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 echo '#include <php_config.h>' > $ext_srcdir/sqlite/src/config.h
else else
echo "#include \"$abs_builddir/config.h\"" > $ext_srcdir/sqlite/src/config.h echo "#include \"$abs_builddir/config.h\"" > $ext_srcdir/sqlite/src/config.h

Loading…
Cancel
Save