xref: /PHP-8.4/ext/sqlite3/config.w32 (revision bd77462c)
1// vim:ft=javascript
2
3ARG_WITH("sqlite3", "SQLite 3 support", "no");
4
5if (PHP_SQLITE3 != "no") {
6	if (SETUP_SQLITE3("sqlite3", PHP_SQLITE3, PHP_SQLITE3_SHARED)) {
7		EXTENSION("sqlite3", "sqlite3.c", null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
8
9		AC_DEFINE("HAVE_SQLITE3", 1, "Define to 1 if the PHP extension 'sqlite3' is available.");
10		AC_DEFINE("HAVE_SQLITE3_ERRSTR", 1, "Define to 1 if SQLite library has the 'sqlite3_errstr' function.");
11		AC_DEFINE("HAVE_SQLITE3_EXPANDED_SQL", 1, "Define to 1 if SQLite library has the 'sqlite3_expanded_sql' function.");
12	} else {
13		WARNING("sqlite3 not enabled; libraries and/or headers not found");
14	}
15}
16