]> granicus.if.org Git - php/commitdiff
MF51: use || instead of -o to support weird systems with old `test`
authorAntony Dovgal <tony2001@php.net>
Sun, 27 Nov 2005 23:00:55 +0000 (23:00 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 27 Nov 2005 23:00:55 +0000 (23:00 +0000)
ext/pdo_sqlite/config.m4

index 2f1a98536d57cacc11ce55b71d46a1bd9b05f8e7..91cfe6cdc4f150159bb1ee86134dbb18662399be 100644 (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