summaryrefslogtreecommitdiff
path: root/ext/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sqlite')
-rw-r--r--ext/sqlite/config.m44
-rw-r--r--ext/sqlite/package.xml1
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/sqlite/config.m4 b/ext/sqlite/config.m4
index 3c04a9e8b0..a74bafab4c 100644
--- a/ext/sqlite/config.m4
+++ b/ext/sqlite/config.m4
@@ -74,10 +74,10 @@ if test "$PHP_SQLITE" != "no"; then
AC_PATH_PROG(LEMON,lemon,no)
AC_SUBST(LEMON)
- SQLITE_VERSION=`cat $ext_builddir/libsqlite/VERSION`
+ SQLITE_VERSION=`cat $ext_srcdir/libsqlite/VERSION`
AC_SUBST(SQLITE_VERSION)
- sed -e s/--VERS--/`cat libsqlite/VERSION`/ -e s/--ENCODING--/$SQLITE_ENCODING/ libsqlite/src/sqlite.h.in >libsqlite/src/sqlite.h
+ sed -e s/--VERS--/`cat $ext_srcdir/libsqlite/VERSION`/ -e s/--ENCODING--/$SQLITE_ENCODING/ $ext_srcdir/libsqlite/src/sqlite.h.in >$ext_srcdir/libsqlite/src/sqlite.h
PHP_ADD_MAKEFILE_FRAGMENT
fi
diff --git a/ext/sqlite/package.xml b/ext/sqlite/package.xml
index db9b456fc0..e568fee5db 100644
--- a/ext/sqlite/package.xml
+++ b/ext/sqlite/package.xml
@@ -74,6 +74,7 @@
<file role="src" name="pager.h"/>
<file role="src" name="parse.h"/>
<file role="src" name="sqliteInt.h"/>
+ <file role="src" name="sqlite.h.in"/>
<file role="src" name="vdbe.h"/>
</dir>