]> granicus.if.org Git - php/commitdiff
same fix here
authorWez Furlong <wez@php.net>
Sun, 13 Feb 2005 03:15:11 +0000 (03:15 +0000)
committerWez Furlong <wez@php.net>
Sun, 13 Feb 2005 03:15:11 +0000 (03:15 +0000)
ext/sqlite/config.m4

index 0de50a040fb764f52559da67211773702579db1a..2b3c7e1d5818b4caa8bc28e5b0d6d68622dc4581 100644 (file)
@@ -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 <php_config.h>' > $ext_srcdir/libsqlite/src/config.h
     else
       echo "#include \"$abs_builddir/config.h\"" > $ext_srcdir/libsqlite/src/config.h