diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2013-03-14 05:42:27 +0000 |
---|---|---|
committer | <> | 2013-04-03 16:25:08 +0000 |
commit | c4dd7a1a684490673e25aaf4fabec5df138854c4 (patch) | |
tree | 4d57c44caae4480efff02b90b9be86f44bf25409 /ext/sqlite3/config.w32 | |
download | php2-master.tar.gz |
Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2.HEADphp-5.4.13master
Diffstat (limited to 'ext/sqlite3/config.w32')
-rw-r--r-- | ext/sqlite3/config.w32 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/sqlite3/config.w32 b/ext/sqlite3/config.w32 new file mode 100644 index 0000000..01e4625 --- /dev/null +++ b/ext/sqlite3/config.w32 @@ -0,0 +1,14 @@ +// $Id$ +// vim:ft=javascript + +ARG_WITH("sqlite3", "SQLite 3 support", "no"); + +if (PHP_SQLITE3 != "no") { + ADD_FLAG("CFLAGS_SQLITE3", "/D SQLITE_THREADSAFE=" + (PHP_ZTS == "yes" ? "1" : "0") + " /D SQLITE_ENABLE_FTS3=1 /D SQLITE_ENABLE_COLUMN_METADATA=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"); + PHP_INSTALL_HEADERS("ext/sqlite3", "libsqlite/sqlite3.h"); +} |