diff options
author | Wez Furlong <wez@php.net> | 2004-05-17 15:43:01 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2004-05-17 15:43:01 +0000 |
commit | d6c4dee168c0f87d9b3fecf7a62555d8a5cacde3 (patch) | |
tree | f91b2a10b301ad56eca2196e576172e574f217e8 /ext/pdo_odbc/config.w32 | |
parent | 1b1ced539b959b1122abee2f206a3c1bf3970919 (diff) | |
download | php-git-d6c4dee168c0f87d9b3fecf7a62555d8a5cacde3.tar.gz |
ODBC (v3 ish) driver for PDO.
Will not build under unix yet.
Diffstat (limited to 'ext/pdo_odbc/config.w32')
-rwxr-xr-x | ext/pdo_odbc/config.w32 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/pdo_odbc/config.w32 b/ext/pdo_odbc/config.w32 new file mode 100755 index 0000000000..d7cc443f17 --- /dev/null +++ b/ext/pdo_odbc/config.w32 @@ -0,0 +1,15 @@ +// $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'); +} + |