2004-02-21 23:05:52 +08:00
|
|
|
// $Id$
|
|
|
|
// vim:ft=javascript
|
|
|
|
|
|
|
|
ARG_WITH("mysqli", "MySQLi support", "no");
|
|
|
|
|
|
|
|
if (PHP_MYSQLI != "no") {
|
2004-02-25 21:29:30 +08:00
|
|
|
if (CHECK_LIB("libmysql.lib", "mysqli", PHP_MYSQL) &&
|
|
|
|
CHECK_HEADER_ADD_INCLUDE("mysql.h", "CFLAGS_MYSQLI", PHP_PHP_BUILD + "\\include\\mysql;" + PHP_MYSQL)) {
|
|
|
|
EXTENSION("mysqli", "mysqli.c mysqli_api.c mysqli_fe.c mysqli_nonapi.c mysqli_prop.c mysqli_report.c");
|
2004-02-21 23:05:52 +08:00
|
|
|
AC_DEFINE('HAVE_MYSQLILIB', 1, 'Have MySQLi library');
|
|
|
|
} else {
|
|
|
|
WARNING("mysqli not enabled; libraries and headers not found");
|
|
|
|
}
|
|
|
|
}
|