xref: /php-src/ext/pdo_sqlite/config.w32 (revision bd77462c)
1// vim:ft=javascript
2
3ARG_WITH("pdo-sqlite", "for pdo_sqlite support", "no");
4
5if (PHP_PDO_SQLITE != "no") {
6	if (SETUP_SQLITE3("pdo_sqlite", PHP_PDO_SQLITE, PHP_PDO_SQLITE_SHARED)) {
7		EXTENSION("pdo_sqlite", "pdo_sqlite.c sqlite_driver.c sqlite_statement.c sqlite_sql_parser.c");
8
9		ADD_EXTENSION_DEP('pdo_sqlite', 'pdo');
10		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.");
11		AC_DEFINE("HAVE_SQLITE3_CLOSE_V2", 1, "Define to 1 if SQLite library has the 'sqlite3_close_v2' function.");
12		ADD_MAKEFILE_FRAGMENT();
13	} else {
14		WARNING("pdo_sqlite not enabled; libraries and/or headers not found");
15	}
16}
17