From: Wez Furlong Date: Sun, 13 Feb 2005 03:15:11 +0000 (+0000) Subject: same fix here X-Git-Tag: RELEASE_0_2_3~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0aa82c3c8375325445514623b24d7c0046f1dcc8;p=php same fix here --- diff --git a/ext/sqlite/config.m4 b/ext/sqlite/config.m4 index 0de50a040f..2b3c7e1d58 100644 --- a/ext/sqlite/config.m4 +++ b/ext/sqlite/config.m4 @@ -90,7 +90,7 @@ if test "$PHP_SQLITE" != "no"; then sed -e s/--VERS--/$SQLITE_VERSION/ -e s/--ENCODING--/$SQLITE_ENCODING/ $ext_srcdir/libsqlite/src/sqlite.h.in >$ext_srcdir/libsqlite/src/sqlite.h - if test "$ext_shared" = "no"; then + if test "$ext_shared" = "no" -o "$ext_srcdir" != "$abs_srcdir"; then echo '#include ' > $ext_srcdir/libsqlite/src/config.h else echo "#include \"$abs_builddir/config.h\"" > $ext_srcdir/libsqlite/src/config.h