1// vim:ft=javascript 2 3// Note: The extension name is "mysqli", you enable it with "--with-mysqli". 4 5ARG_WITH("mysqli", "MySQLi support", "no"); 6 7if (PHP_MYSQLI != "no") { 8 mysqli_source = 9 "mysqli.c " + 10 "mysqli_api.c " + 11 "mysqli_driver.c " + 12 "mysqli_exception.c " + 13 "mysqli_nonapi.c " + 14 "mysqli_prop.c " + 15 "mysqli_result_iterator.c " + 16 "mysqli_report.c " + 17 "mysqli_warning.c"; 18 19 EXTENSION("mysqli", mysqli_source, PHP_MYSQLI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); 20 ADD_EXTENSION_DEP('mysqli', 'mysqlnd'); 21 ADD_EXTENSION_DEP('mysqli', 'spl'); 22 PHP_INSTALL_HEADERS("ext/mysqli", "php_mysqli_structs.h mysqli_mysqlnd.h"); 23} 24