File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -8,33 +8,25 @@ if test "$PHP_ZIP" != "no"; then
8
8
9
9
PHP_EVAL_INCLINE($LIBZIP_CFLAGS)
10
10
PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD)
11
- LIBZIP_LIBDIR=`$PKG_CONFIG --variable=libdir libzip`
12
11
13
12
dnl Could not think of a simple way to check libzip for overwrite support
14
13
PHP_CHECK_LIBRARY(zip, zip_open,
15
14
[
16
15
AC_DEFINE ( HAVE_LIBZIP ,1 ,[ ] )
17
16
] , [
18
17
AC_MSG_ERROR ( could not find usable libzip )
19
- ] , [
20
- -L$LIBZIP_LIBDIR
21
18
] )
22
19
23
20
PHP_CHECK_LIBRARY(zip, zip_file_set_encryption,
24
21
[
25
22
AC_DEFINE ( HAVE_ENCRYPTION , 1 , [ Libzip >= 1.2.0 with encryption support] )
26
23
] , [
27
24
AC_MSG_WARN ( Libzip >= 1.2.0 needed for encryption support )
28
- ] , [
29
- -L$LIBZIP_LIBDIR
30
25
] )
31
26
32
27
PHP_CHECK_LIBRARY(zip, zip_libzip_version,
33
28
[
34
29
AC_DEFINE ( HAVE_LIBZIP_VERSION , 1 , [ Libzip >= 1.3.1 with zip_libzip_version function] )
35
- ] , [
36
- ] , [
37
- -L$LIBZIP_LIBDIR
38
30
] )
39
31
40
32
AC_DEFINE ( HAVE_ZIP ,1 ,[ ] )
You can’t perform that action at this time.
0 commit comments