mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
18 lines
440 B
JavaScript
18 lines
440 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_ENABLE("zlib", "ZLIB support", "yes");
|
|
|
|
if (PHP_ZLIB == "yes") {
|
|
EXTENSION("zlib", "zlib.c zlib_fopen_wrapper.c zlib_filter.c", null, "/D ZLIB_EXPORTS");
|
|
AC_DEFINE("HAVE_ZLIB", 1, "ZLIB support");
|
|
CHECK_LIB("zlib.lib", "zlib", PHP_ZLIB);
|
|
CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects);
|
|
if (!PHP_ZLIB_SHARED) {
|
|
ADD_DEF_FILE("ext\\zlib\\php_zlib.def");
|
|
}
|
|
|
|
}
|
|
|
|
|