We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15cdc6d commit 68e2072Copy full SHA for 68e2072
ext/zip/config.m4
@@ -4,19 +4,10 @@ PHP_ARG_WITH([zip],
4
[Include Zip read/write support])])
5
6
if test "$PHP_ZIP" != "no"; then
7
- PKG_CHECK_MODULES([LIBZIP], [libzip >= 0.11])
+ PKG_CHECK_MODULES([LIBZIP], [libzip >= 1.0.1])
8
LIBZIP_LIBDIR=`$PKG_CONFIG --variable=libdir libzip`
9
10
- dnl Could not think of a simple way to check libzip for overwrite support
11
- PHP_CHECK_LIBRARY(zip, zip_open,
12
- [
13
- PHP_ADD_LIBRARY_WITH_PATH(zip, $LIBZIP_LIBDIR, ZIP_SHARED_LIBADD)
14
- AC_DEFINE(HAVE_LIBZIP,1,[ ])
15
- ], [
16
- AC_MSG_ERROR(could not find usable libzip)
17
18
- -L$LIBZIP_LIBDIR
19
- ])
+ AC_DEFINE(HAVE_LIBZIP, 1, [ ])
20
21
PHP_CHECK_LIBRARY(zip, zip_file_set_encryption,
22
[
0 commit comments