File tree Expand file tree Collapse file tree 3 files changed +0
-7
lines changed Expand file tree Collapse file tree 3 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ if test "$PHP_ZIP" != "no"; then
8
8
9
9
PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD)
10
10
11
- AC_DEFINE ( HAVE_LIBZIP , 1 , [ ] )
12
-
13
11
PHP_CHECK_LIBRARY(zip, zip_file_set_encryption,
14
12
[
15
13
AC_DEFINE ( HAVE_ENCRYPTION , 1 , [ Libzip >= 1.2.0 with encryption support] )
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ if (PHP_ZIP != "no") {
15
15
}
16
16
17
17
AC_DEFINE ( 'HAVE_ZIP' , 1 ) ;
18
- AC_DEFINE ( 'HAVE_LIBZIP' , 1 ) ;
19
18
ADD_FLAG ( "CFLAGS_ZIP" , "/D _WIN32 /D HAVE_ENCRYPTION" ) ;
20
19
} else {
21
20
WARNING ( "zip not enabled; libraries and headers not found" ) ;
Original file line number Diff line number Diff line change @@ -27,11 +27,7 @@ extern zend_module_entry zip_module_entry;
27
27
#include "TSRM.h"
28
28
#endif
29
29
30
- #if defined(HAVE_LIBZIP )
31
30
#include <zip.h>
32
- #else
33
- #include "lib/zip.h"
34
- #endif
35
31
36
32
#ifndef ZIP_OVERWRITE
37
33
#define ZIP_OVERWRITE ZIP_TRUNCATE
You can’t perform that action at this time.
0 commit comments