Annotation of embedaddon/php/ext/zlib/config.w32, revision 1.1.1.1
1.1 misho 1: // $Id: config.w32 261512 2008-06-22 21:55:59Z pajoye $
2: // vim:ft=javascript
3:
4: ARG_ENABLE("zlib", "ZLIB support", "yes");
5:
6: if (PHP_ZLIB == "yes") {
7: if (CHECK_LIB("zlib_a.lib;zlib.lib", "zlib", PHP_ZLIB) &&
8: CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects)) {
9:
10: EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", null, "/D ZLIB_EXPORTS");
11: AC_DEFINE("HAVE_ZLIB", 1, "ZLIB support");
12:
13: if (!PHP_ZLIB_SHARED) {
14: ADD_DEF_FILE("ext\\zlib\\php_zlib.def");
15: }
16: } else {
17: WARNING("zlib support can't be enabled, zlib is missing")
18: PHP_ZLIB = "no"
19: }
20: }
21:
22:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>