mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
d6c4dee168
Will not build under unix yet.
16 lines
467 B
JavaScript
Executable File
16 lines
467 B
JavaScript
Executable File
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("pdo-odbc", "ODBC support for PDO", "no");
|
|
|
|
if (PHP_PDO_ODBC != "no") {
|
|
if (CHECK_LIB("odbc32.lib", "pdo_odbc") && CHECK_LIB("odbccp32.lib", "pdo_odbc")) {
|
|
EXTENSION("pdo_odbc", "pdo_odbc.c odbc_driver.c odbc_stmt.c");
|
|
CHECK_HEADER_ADD_INCLUDE('sql.h', 'CFLAGS_PDO_ODBC');
|
|
CHECK_HEADER_ADD_INCLUDE('sqlext.h', 'CFLAGS_PDO_ODBC');
|
|
ADD_FLAG('CFLAGS_PDO_ODBC', "/I ..\\pecl");
|
|
}
|
|
ADD_EXTENSION_DEP('pdo_odbc', 'pdo');
|
|
}
|
|
|