mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +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).
16 lines
625 B
JavaScript
16 lines
625 B
JavaScript
// vim:ft=javascript
|
|
|
|
ARG_WITH("pdo-sqlite", "for pdo_sqlite support", "no");
|
|
|
|
if (PHP_PDO_SQLITE != "no") {
|
|
if (SETUP_SQLITE3("pdo_sqlite", PHP_PDO_SQLITE, PHP_PDO_SQLITE_SHARED)) {
|
|
EXTENSION("pdo_sqlite", "pdo_sqlite.c sqlite_driver.c sqlite_statement.c sqlite_sql_parser.c");
|
|
|
|
ADD_EXTENSION_DEP('pdo_sqlite', 'pdo');
|
|
AC_DEFINE("HAVE_SQLITE3_COLUMN_TABLE_NAME", 1, "Define to 1 if SQLite library was compiled with the SQLITE_ENABLE_COLUMN_METADATA and has the 'sqlite3_column_table_name' function.");
|
|
ADD_MAKEFILE_FRAGMENT();
|
|
} else {
|
|
WARNING("pdo_sqlite not enabled; libraries and/or headers not found");
|
|
}
|
|
}
|