diff options
| author | Scott MacVicar <scottmac@php.net> | 2008-07-25 02:44:59 +0000 |
|---|---|---|
| committer | Scott MacVicar <scottmac@php.net> | 2008-07-25 02:44:59 +0000 |
| commit | d584ed4a0165ff9aee12d8d96e7a8ce697bbafea (patch) | |
| tree | 2e0c1e15a8063b9ddb8e9dafc7b8351b8d03089b /ext/sqlite3/config.w32 | |
| parent | 14ce4a1d0a86efb61a13821ee90b5f124af13fff (diff) | |
| download | php-git-d584ed4a0165ff9aee12d8d96e7a8ce697bbafea.tar.gz | |
SQLite3 extension, still has 2 failing tests that will be sorted tomorrow. Will merge to head tomorrow as well.
Diffstat (limited to 'ext/sqlite3/config.w32')
| -rw-r--r-- | ext/sqlite3/config.w32 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/sqlite3/config.w32 b/ext/sqlite3/config.w32 new file mode 100644 index 0000000000..81c3c41b16 --- /dev/null +++ b/ext/sqlite3/config.w32 @@ -0,0 +1,17 @@ +// $Id$ +// vim:ft=javascript + +ARG_WITH("sqlite3", "SQLite 3 support", "no"); + +if (PHP_SQLITE3 != "no") { + ADD_FLAG("CFLAGS_SQLITE3", "/D SQLITE_THREADSAFE=1 /D SQLITE_ENABLE_FTS3=1 /D SQLITE_CORE=1 "); + EXTENSION("sqlite3", "sqlite3.c", null, "/I" + configure_module_dirname + "/libsqlite /I" + configure_module_dirname); + + ADD_SOURCES(configure_module_dirname + "/libsqlite", "sqlite3.c", "sqlite3"); + + AC_DEFINE("HAVE_SQLITE3", 1, "SQLite support"); + + if (!PHP_SQLITE3_SHARED) { + ADD_DEF_FILE(configure_module_dirname + "\\php_sqlite3.def"); + } +} |
