mirror of
https://github.com/php/php-src.git
synced 2024-12-04 15:23:44 +08:00
cd5e3b1632
Will commit the new feature part separately.
14 lines
526 B
JavaScript
14 lines
526 B
JavaScript
// $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");
|
|
}
|