From 08f683a6450f607334965dbf4caa984d6c990069 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 13 Feb 2005 02:51:11 +0000 Subject: [PATCH] Probably fix pecl vs bundled-shared build --- ext/pdo_sqlite/config.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4 index 606b12c713..554e06f6f4 100644 --- a/ext/pdo_sqlite/config.m4 +++ b/ext/pdo_sqlite/config.m4 @@ -91,12 +91,11 @@ 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"; 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 fi - cat >> $ext_srcdir/sqlite/src/config.h <