diff options
| author | Andrey Hristov <andrey@php.net> | 2009-11-20 08:12:14 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2009-11-20 08:12:14 +0000 |
| commit | 5143fe41e26f5cadeadbefaaa07715ef5407063d (patch) | |
| tree | 52d170b4e88fe45c47a450c3390c286ca100a181 /ext/mysqlnd/config.w32 | |
| parent | 4e010297f17b25b566c52e72f31a833d046a1b84 (diff) | |
| download | php-git-5143fe41e26f5cadeadbefaaa07715ef5407063d.tar.gz | |
Compressed protocol support + extensibility for mysqlnd
Diffstat (limited to 'ext/mysqlnd/config.w32')
| -rw-r--r-- | ext/mysqlnd/config.w32 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/mysqlnd/config.w32 b/ext/mysqlnd/config.w32 index d495672cf7..00a3f147c0 100644 --- a/ext/mysqlnd/config.w32 +++ b/ext/mysqlnd/config.w32 @@ -21,5 +21,10 @@ if (PHP_MYSQLND != "no") { "mysqlnd_wireprotocol.c " + "php_mysqlnd.c"; EXTENSION("mysqlnd", mysqlnd_source, false); + if (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "mysqlnd", PHP_MYSQLND))) || + (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "mysqlnd", PHP_MYSQLND)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) + { + AC_DEFINE("MYSQLND_COMPRESSION_ENABLED", 1, "Compression support"); + } } -}
\ No newline at end of file +} |
