xref: /PHP-8.2/ext/mysqli/config.w32 (revision d84dfa32)
1// vim:ft=javascript
2
3// Note: The extension name is "mysqli", you enable it with "--with-mysqli".
4// Passing value "mysqlnd" to it enables the bundled
5// client library to connect to the MySQL server, i.e. no external MySQL
6// client library is needed to perform the build.
7
8ARG_WITH("mysqli", "MySQLi support", "no");
9
10if (PHP_MYSQLI != "no") {
11	mysqli_source =
12		"mysqli.c " +
13		"mysqli_api.c " +
14		"mysqli_driver.c " +
15		"mysqli_exception.c " +
16		"mysqli_nonapi.c " +
17		"mysqli_prop.c " +
18		"mysqli_result_iterator.c " +
19		"mysqli_report.c " +
20		"mysqli_warning.c";
21
22	if (PHP_MYSQLI != "no") {
23		EXTENSION("mysqli", mysqli_source, PHP_MYSQLI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
24		ADD_EXTENSION_DEP('mysqli', 'mysqlnd', true);
25		PHP_INSTALL_HEADERS("ext/mysqli", "php_mysqli_structs.h");
26	}
27}
28