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

This commit is contained in:
Antony Dovgal 2005-11-27 22:59:54 +00:00
parent b4dd85ff46
commit 5a606e0be3

View File

@ -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