@@ -11,37 +11,45 @@ if test "$PHP_ZIP" != "no"; then
11
11
12
12
PHP_CHECK_LIBRARY([ zip] , [ zip_file_set_mtime] ,
13
13
[ 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).] ) ] ,
15
16
[ AC_MSG_WARN ( [ Libzip >= 1.0.0 needed for setting mtime] ) ] ,
16
17
[ $LIBZIP_LIBS] )
17
18
18
19
PHP_CHECK_LIBRARY([ zip] , [ zip_file_set_encryption] ,
19
20
[ 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).] ) ] ,
21
23
[ AC_MSG_WARN ( [ Libzip >= 1.2.0 needed for encryption support] ) ] ,
22
24
[ $LIBZIP_LIBS] )
23
25
24
26
PHP_CHECK_LIBRARY([ zip] , [ zip_libzip_version] ,
25
27
[ 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).] ) ] ,
27
30
[ ] ,
28
31
[ $LIBZIP_LIBS] )
29
32
30
33
PHP_CHECK_LIBRARY([ zip] , [ zip_register_progress_callback_with_state] ,
31
34
[ 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).] ) ] ,
33
38
[ ] ,
34
39
[ $LIBZIP_LIBS] )
35
40
36
41
PHP_CHECK_LIBRARY([ zip] , [ zip_register_cancel_callback_with_state] ,
37
42
[ 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).] ) ] ,
39
46
[ ] ,
40
47
[ $LIBZIP_LIBS] )
41
48
42
49
PHP_CHECK_LIBRARY([ zip] , [ zip_compression_method_supported] ,
43
50
[ 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).] ) ] ,
45
53
[ ] ,
46
54
[ $LIBZIP_LIBS] )
47
55
0 commit comments