diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4 index 554e06f6f47..c5cec4b46cf 100644 --- a/ext/pdo_sqlite/config.m4 +++ b/ext/pdo_sqlite/config.m4 @@ -91,7 +91,7 @@ if test "$PHP_PDO_SQLITE" != "no"; then sort -n +2 $ext_srcdir/sqlite/src/opcodes.h | awk -f $ext_srcdir/sqlite/mkopcodec.awk > $ext_srcdir/sqlite/src/opcodes.c fi - if test "$ext_shared" = "no" -o "$ext_srcdir" = "$abs_srcdir"; then + if test "$ext_shared" = "no" -o "$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