Skip to content

Commit 0bba403

Browse files
committed
ext/zip: Remove un-needed extra libs variables
1 parent b85e3cb commit 0bba403

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ext/zip/config.m4

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,25 @@ if test "$PHP_ZIP" != "no"; then
88

99
PHP_EVAL_INCLINE($LIBZIP_CFLAGS)
1010
PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD)
11-
LIBZIP_LIBDIR=`$PKG_CONFIG --variable=libdir libzip`
1211

1312
dnl Could not think of a simple way to check libzip for overwrite support
1413
PHP_CHECK_LIBRARY(zip, zip_open,
1514
[
1615
AC_DEFINE(HAVE_LIBZIP,1,[ ])
1716
], [
1817
AC_MSG_ERROR(could not find usable libzip)
19-
], [
20-
-L$LIBZIP_LIBDIR
2118
])
2219

2320
PHP_CHECK_LIBRARY(zip, zip_file_set_encryption,
2421
[
2522
AC_DEFINE(HAVE_ENCRYPTION, 1, [Libzip >= 1.2.0 with encryption support])
2623
], [
2724
AC_MSG_WARN(Libzip >= 1.2.0 needed for encryption support)
28-
], [
29-
-L$LIBZIP_LIBDIR
3025
])
3126

3227
PHP_CHECK_LIBRARY(zip, zip_libzip_version,
3328
[
3429
AC_DEFINE(HAVE_LIBZIP_VERSION, 1, [Libzip >= 1.3.1 with zip_libzip_version function])
35-
], [
36-
], [
37-
-L$LIBZIP_LIBDIR
3830
])
3931

4032
AC_DEFINE(HAVE_ZIP,1,[ ])

0 commit comments

Comments
 (0)