Skip to content

Commit ca57d76

Browse files
authored
Update ext/zip preprocessor macros help texts (#15271)
[skip ci]
1 parent 2832b42 commit ca57d76

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

ext/zip/config.m4

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,45 @@ if test "$PHP_ZIP" != "no"; then
1111

1212
PHP_CHECK_LIBRARY([zip], [zip_file_set_mtime],
1313
[AC_DEFINE([HAVE_SET_MTIME], [1],
14-
[Libzip >= 1.0.0 with zip_file_set_mtime])],
14+
[Define to 1 if libzip library has the 'zip_file_set_mtime' function
15+
(available since 1.0.0).])],
1516
[AC_MSG_WARN([Libzip >= 1.0.0 needed for setting mtime])],
1617
[$LIBZIP_LIBS])
1718

1819
PHP_CHECK_LIBRARY([zip], [zip_file_set_encryption],
1920
[AC_DEFINE([HAVE_ENCRYPTION], [1],
20-
[Libzip >= 1.2.0 with encryption support])],
21+
[Define to 1 if libzip library has encryption support (available since
22+
1.2.0).])],
2123
[AC_MSG_WARN([Libzip >= 1.2.0 needed for encryption support])],
2224
[$LIBZIP_LIBS])
2325

2426
PHP_CHECK_LIBRARY([zip], [zip_libzip_version],
2527
[AC_DEFINE([HAVE_LIBZIP_VERSION], [1],
26-
[Libzip >= 1.3.1 with zip_libzip_version function])],
28+
[Define to 1 if libzip library has the 'zip_libzip_version' function
29+
(available since 1.3.1).])],
2730
[],
2831
[$LIBZIP_LIBS])
2932

3033
PHP_CHECK_LIBRARY([zip], [zip_register_progress_callback_with_state],
3134
[AC_DEFINE([HAVE_PROGRESS_CALLBACK], [1],
32-
[Libzip >= 1.3.0 with zip_register_progress_callback_with_state function])],
35+
[Define to 1 if libzip library has the
36+
'zip_register_progress_callback_with_state' function (available since
37+
1.3.0).])],
3338
[],
3439
[$LIBZIP_LIBS])
3540

3641
PHP_CHECK_LIBRARY([zip], [zip_register_cancel_callback_with_state],
3742
[AC_DEFINE([HAVE_CANCEL_CALLBACK], [1],
38-
[Libzip >= 1.6.0 with zip_register_cancel_callback_with_state function])],
43+
[Define to 1 if libzip library has the
44+
'zip_register_cancel_callback_with_state' function (available since
45+
1.6.0).])],
3946
[],
4047
[$LIBZIP_LIBS])
4148

4249
PHP_CHECK_LIBRARY([zip], [zip_compression_method_supported],
4350
[AC_DEFINE([HAVE_METHOD_SUPPORTED], [1],
44-
[Libzip >= 1.7.0 with zip_*_method_supported functions])],
51+
[Define to 1 if libzip library has 'zip_*_method_supported' functions
52+
(available since 1.7.0).])],
4553
[],
4654
[$LIBZIP_LIBS])
4755

0 commit comments

Comments
 (0)