summaryrefslogtreecommitdiff
path: root/ext/sqlite/libsqlite
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2003-04-25 08:33:26 +0000
committerSVN Migration <svn@php.net>2003-04-25 08:33:26 +0000
commitcaf1b545b82e5be939b6fbc918189d84e75c73d7 (patch)
treec99f5e65a20fdcc62c5689f66b85a4b6981620a6 /ext/sqlite/libsqlite
parentbf0d23f985de8af910f78c395d29ebc28d3f9a5f (diff)
downloadphp-git-caf1b545b82e5be939b6fbc918189d84e75c73d7.tar.gz
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
Diffstat (limited to 'ext/sqlite/libsqlite')
-rw-r--r--ext/sqlite/libsqlite/README37
-rw-r--r--ext/sqlite/libsqlite/src/sqlite_config.w32.h8
2 files changed, 45 insertions, 0 deletions
diff --git a/ext/sqlite/libsqlite/README b/ext/sqlite/libsqlite/README
new file mode 100644
index 0000000000..326f3aa1ac
--- /dev/null
+++ b/ext/sqlite/libsqlite/README
@@ -0,0 +1,37 @@
+This directory contains source code to
+
+ SQLite: An Embeddable SQL Database Engine
+
+To compile the project, first create a directory in which to place
+the build products. It is recommended, but not required, that the
+build directory be separate from the source directory. Cd into the
+build directory and then from the build directory run the configure
+script found at the root of the source tree. Then run "make".
+
+For example:
+
+ tar xzf sqlite.tar.gz ;# Unpack the source tree into "sqlite"
+ mkdir bld ;# Build will occur in a sibling directory
+ cd bld ;# Change to the build directory
+ ../sqlite/configure ;# Run the configure script
+ make ;# Run the makefile.
+
+The configure script uses autoconf 2.50 and libtool. If the configure
+script does not work out for you, there is a generic makefile named
+"Makefile.linux-gcc" in the top directory of the source tree that you
+can copy and edit to suite your needs. Comments on the generic makefile
+show what changes are needed.
+
+The linux binaries on the website are created using the generic makefile,
+not the configure script. The configure script is unmaintained. (You
+can volunteer to take over maintenance of the configure script, if you want!)
+The windows binaries on the website are created using MinGW32 configured
+as a cross-compiler running under Linux. For details, see the ./publish.sh
+script at the top-level of the source tree.
+
+Contacts:
+
+ http://www.sqlite.org/
+ http://www.hwaci.com/sw/sqlite/
+ http://groups.yahoo.com/group/sqlite/
+ drh@hwaci.com
diff --git a/ext/sqlite/libsqlite/src/sqlite_config.w32.h b/ext/sqlite/libsqlite/src/sqlite_config.w32.h
new file mode 100644
index 0000000000..3903ffe95e
--- /dev/null
+++ b/ext/sqlite/libsqlite/src/sqlite_config.w32.h
@@ -0,0 +1,8 @@
+#include "config.w32.h"
+#if ZTS
+# define THREADSAFE 1
+#endif
+#if !ZEND_DEBUG && !defined(NDEBUG)
+# define NDEBUG
+#endif
+#define SQLITE_PTR_SZ 4 \ No newline at end of file