Annotation of embedaddon/php/ext/sqlite3/config.w32, revision 1.1.1.1

1.1       misho       1: // $Id: config.w32 306344 2010-12-13 18:43:10Z pajoye $
                      2: // vim:ft=javascript
                      3: 
                      4: ARG_WITH("sqlite3", "SQLite 3 support", "no");
                      5: 
                      6: if (PHP_SQLITE3 != "no") {
                      7:        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 ");
                      8:        EXTENSION("sqlite3", "sqlite3.c", null, "/I" + configure_module_dirname + "/libsqlite /I" + configure_module_dirname);
                      9: 
                     10:        ADD_SOURCES(configure_module_dirname + "/libsqlite", "sqlite3.c", "sqlite3");
                     11: 
                     12:        AC_DEFINE("HAVE_SQLITE3", 1, "SQLite support");
                     13:        PHP_INSTALL_HEADERS("ext/sqlite3", "libsqlite/sqlite3.h");
                     14: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>