Skip to content

Commit f349d79

Browse files
hughmcmasternikic
authored andcommitted
ext/zip: Remove un-needed symbol check for zip_open
Closes GH-4189.
1 parent 310f96f commit f349d79

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ext/zip/config.m4

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@ if test "$PHP_ZIP" != "no"; then
1010
PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD)
1111
LIBZIP_LIBDIR=`$PKG_CONFIG --variable=libdir libzip`
1212

13-
dnl Could not think of a simple way to check libzip for overwrite support
14-
PHP_CHECK_LIBRARY(zip, zip_open,
15-
[
16-
AC_DEFINE(HAVE_LIBZIP,1,[ ])
17-
], [
18-
AC_MSG_ERROR(could not find usable libzip)
19-
], [
20-
-L$LIBZIP_LIBDIR
21-
])
13+
AC_DEFINE(HAVE_LIBZIP, 1, [ ])
2214

2315
PHP_CHECK_LIBRARY(zip, zip_file_set_encryption,
2416
[

0 commit comments

Comments
 (0)