From: Hugh McMaster Date: Sun, 2 Jun 2019 00:25:13 +0000 (+1000) Subject: ext/zip: Remove un-needed symbol check for zip_open X-Git-Tag: php-7.4.0alpha1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f349d790b40e4d28baaebd5b3372e29b86249dcb;p=php ext/zip: Remove un-needed symbol check for zip_open Closes GH-4189. --- diff --git a/ext/zip/config.m4 b/ext/zip/config.m4 index 25fac2be20..70eafcdc98 100644 --- a/ext/zip/config.m4 +++ b/ext/zip/config.m4 @@ -10,15 +10,7 @@ if test "$PHP_ZIP" != "no"; then PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD) LIBZIP_LIBDIR=`$PKG_CONFIG --variable=libdir libzip` - dnl Could not think of a simple way to check libzip for overwrite support - PHP_CHECK_LIBRARY(zip, zip_open, - [ - AC_DEFINE(HAVE_LIBZIP,1,[ ]) - ], [ - AC_MSG_ERROR(could not find usable libzip) - ], [ - -L$LIBZIP_LIBDIR - ]) + AC_DEFINE(HAVE_LIBZIP, 1, [ ]) PHP_CHECK_LIBRARY(zip, zip_file_set_encryption, [