File tree 1 file changed +9
-1
lines changed 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,19 @@ if test "$PHP_ZIP" != "no"; then
41
41
AC_MSG_RESULT ( from option: found in $PHP_LIBZIP )
42
42
43
43
elif test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libzip; then
44
- if $PKG_CONFIG libzip --atleast-version 0.11; then
44
+
45
+ if $PKG_CONFIG libzip --exact-version 1.3.1]; then
46
+ AC_MSG_ERROR ( system libzip 1.3.1 is broken please update )
47
+
48
+ elif $PKG_CONFIG libzip --exact-version 1.7.0]; then
49
+ AC_MSG_ERROR ( system libzip 1.7.0 is broken please update )
50
+
51
+ elif $PKG_CONFIG libzip --atleast-version 0.11; then
45
52
LIBZIP_CFLAGS=`$PKG_CONFIG libzip --cflags`
46
53
LIBZIP_LIBDIR=`$PKG_CONFIG libzip --variable=libdir`
47
54
LIBZIP_VERSON=`$PKG_CONFIG libzip --modversion`
48
55
AC_MSG_RESULT ( from pkgconfig: version $LIBZIP_VERSON found in $LIBZIP_LIBDIR )
56
+
49
57
else
50
58
AC_MSG_ERROR ( system libzip must be upgraded to version >= 0.11 )
51
59
fi
You can’t perform that action at this time.
0 commit comments