mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
16 lines
536 B
JavaScript
16 lines
536 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("pdo-mysql", "MySQL support for PDO", "no");
|
|
|
|
if (PHP_PDO_MYSQL != "no") {
|
|
if (CHECK_LIB("libmysql.lib", "pdo_mysql", PHP_PDO_MYSQL) &&
|
|
CHECK_HEADER_ADD_INCLUDE("mysql.h", "CFLAGS_PDO_MYSQL", PHP_PHP_BUILD + "\\include\\mysql;" + PHP_PDO_MYSQL)) {
|
|
EXTENSION("pdo_mysql", "pdo_mysql.c mysql_driver.c mysql_statement.c");
|
|
ADD_FLAG('CFLAGS_PDO_MYSQL', "/I ..\\pecl");
|
|
} else {
|
|
WARNING("pdo_mysql not enabled; libraries and headers not found");
|
|
}
|
|
ADD_EXTENSION_DEP('pdo_mysql', 'pdo');
|
|
}
|