mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
d2b5b62af5
with mysqli extension, so there is no need for a specially compiled client library anymore.
15 lines
524 B
JavaScript
15 lines
524 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("mysqli", "MySQLi support", "no");
|
|
|
|
if (PHP_MYSQLI != "no") {
|
|
if (CHECK_LIB("libmysql.lib", "mysqli", PHP_MYSQLI) &&
|
|
CHECK_HEADER_ADD_INCLUDE("mysql.h", "CFLAGS_MYSQLI", PHP_PHP_BUILD + "\\include\\mysql;" + PHP_MYSQLI)) {
|
|
EXTENSION("mysqli", "mysqli.c mysqli_api.c mysqli_fe.c mysqli_nonapi.c mysqli_prop.c mysqli_report.c mysqli_repl.c");
|
|
AC_DEFINE('HAVE_MYSQLILIB', 1, 'Have MySQLi library');
|
|
} else {
|
|
WARNING("mysqli not enabled; libraries and headers not found");
|
|
}
|
|
}
|