mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
As of PHP 8.5 the minimum required SQLite library is 3.7.17, and this removes the following preprocessor macros checks: - HAVE_SQLITE3_CLOSE_V2 (sqlite3_close_v2() function is available since SQLite 3.7.14.) - HAVE_SQLITE3_ERRSTR (sqlite3_errstr() function is available since SQLite 3.7.15) - SQLITE_VERSION_NUMBER should be now always greater than 3006011 (3.6.11).
15 lines
542 B
JavaScript
15 lines
542 B
JavaScript
// vim:ft=javascript
|
|
|
|
ARG_WITH("sqlite3", "SQLite 3 support", "no");
|
|
|
|
if (PHP_SQLITE3 != "no") {
|
|
if (SETUP_SQLITE3("sqlite3", PHP_SQLITE3, PHP_SQLITE3_SHARED)) {
|
|
EXTENSION("sqlite3", "sqlite3.c", null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
|
|
|
|
AC_DEFINE("HAVE_SQLITE3", 1, "Define to 1 if the PHP extension 'sqlite3' is available.");
|
|
AC_DEFINE("HAVE_SQLITE3_EXPANDED_SQL", 1, "Define to 1 if SQLite library has the 'sqlite3_expanded_sql' function.");
|
|
} else {
|
|
WARNING("sqlite3 not enabled; libraries and/or headers not found");
|
|
}
|
|
}
|