mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

This syncs all help texts of extension preprocessor macros to the same style "Define to 1 if the PHP extension '<ext>' is available.". [skip ci]
15 lines
493 B
Text
15 lines
493 B
Text
PHP_ARG_WITH([zlib],
|
|
[for ZLIB support],
|
|
[AS_HELP_STRING([--with-zlib],
|
|
[Include ZLIB support (requires zlib library)])])
|
|
|
|
if test "$PHP_ZLIB" != "no"; then
|
|
PHP_SETUP_ZLIB([ZLIB_SHARED_LIBADD], [dnl
|
|
AC_DEFINE([HAVE_ZLIB], [1],
|
|
[Define to 1 if the PHP extension 'zlib' is available.])
|
|
PHP_NEW_EXTENSION([zlib],
|
|
[zlib.c zlib_fopen_wrapper.c zlib_filter.c],
|
|
[$ext_shared],,
|
|
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
|
|
PHP_SUBST([ZLIB_SHARED_LIBADD])])
|
|
fi
|