diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2013-03-14 05:42:27 +0000 |
---|---|---|
committer | <> | 2013-04-03 16:25:08 +0000 |
commit | c4dd7a1a684490673e25aaf4fabec5df138854c4 (patch) | |
tree | 4d57c44caae4480efff02b90b9be86f44bf25409 /ext/zlib/config.w32 | |
download | php2-master.tar.gz |
Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2.HEADphp-5.4.13master
Diffstat (limited to 'ext/zlib/config.w32')
-rw-r--r-- | ext/zlib/config.w32 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/zlib/config.w32 b/ext/zlib/config.w32 new file mode 100644 index 0000000..000b1cc --- /dev/null +++ b/ext/zlib/config.w32 @@ -0,0 +1,22 @@ +// $Id$ +// vim:ft=javascript + +ARG_ENABLE("zlib", "ZLIB support", "yes"); + +if (PHP_ZLIB == "yes") { + if (CHECK_LIB("zlib_a.lib;zlib.lib", "zlib", PHP_ZLIB) && + CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects)) { + + EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", null, "/D ZLIB_EXPORTS"); + AC_DEFINE("HAVE_ZLIB", 1, "ZLIB support"); + + if (!PHP_ZLIB_SHARED) { + ADD_DEF_FILE("ext\\zlib\\php_zlib.def"); + } + } else { + WARNING("zlib support can't be enabled, zlib is missing") + PHP_ZLIB = "no" + } +} + + |