mirror of
https://github.com/php/php-src.git
synced 2025-01-26 21:54:16 +08:00
f5227c5863
Closes GH-4444
16 lines
543 B
JavaScript
16 lines
543 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");
|
|
|
|
ADD_EXTENSION_DEP('pdo_sqlite', 'pdo');
|
|
AC_DEFINE("HAVE_SQLITE3_COLUMN_TABLE_NAME", 1, "have sqlite3_column_table_name");
|
|
AC_DEFINE("HAVE_SQLITE3_CLOSE_V2", 1, "have sqlite3_close_v2");
|
|
} else {
|
|
WARNING("pdo_sqlite not enabled; libraries and/or headers not found");
|
|
}
|
|
}
|