File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,30 @@ PHP_ARG_WITH([zip],
6
6
if test "$PHP_ZIP" != "no"; then
7
7
PKG_CHECK_MODULES([ LIBZIP] , [ libzip >= 0.11] )
8
8
9
+ PKG_CHECK_MODULES([ LIBZIP] , [ libzip >= 1.3.1] ,
10
+ [
11
+ PKG_CHECK_MODULES([ LIBZIP] , [ libzip >= 1.3.2] ,
12
+ [
13
+ dnl only version 1.3.1 is broken
14
+ ] , [
15
+ AC_MSG_ERROR ( Libzip 1.3.1 is broken please update )
16
+ ] )
17
+ ] , [
18
+ dnl version 1.3.2+ are OK
19
+ ] )
20
+
21
+ PKG_CHECK_MODULES([ LIBZIP] , [ libzip >= 1.7.0] ,
22
+ [
23
+ PKG_CHECK_MODULES([ LIBZIP] , [ libzip >= 1.7.1] ,
24
+ [
25
+ dnl only version 1.7.0 is broken
26
+ ] , [
27
+ AC_MSG_ERROR ( Libzip 1.7.0 is broken please update )
28
+ ] )
29
+ ] , [
30
+ dnl version 1.7.1+ are OK
31
+ ] )
32
+
9
33
PHP_EVAL_INCLINE($LIBZIP_CFLAGS)
10
34
PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD)
11
35
You can’t perform that action at this time.
0 commit comments