From: Wez Furlong Date: Sun, 13 Feb 2005 02:51:11 +0000 (+0000) Subject: Probably fix pecl vs bundled-shared build X-Git-Tag: RELEASE_0_2_3~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08f683a6450f607334965dbf4caa984d6c990069;p=php Probably fix pecl vs bundled-shared build --- 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 <