com php-src: ext/zip: Remove un-needed symbol check for zip_open: ext/zip/config.m4
| From: | Nikita Popov | Date: | Mon, 03 Jun 2019 07:20:31 +0000 |
| Subject: | com php-src: ext/zip: Remove un-needed symbol check for zip_open: ext/zip/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106519@lists.php.net to get a copy of this message | ||
Commit: f349d790b40e4d28baaebd5b3372e29b86249dcb
Author: Hugh McMaster <hugh.mcmaster@outlook.com> Sun, 2 Jun 2019 10:25:13 +1000
Committer: Nikita Popov <nikita.ppv@gmail.com> Mon, 3 Jun 2019 09:20:31 +0200
Parents: 310f96fd13dbe53754818f279ba63ecce1966173
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f349d790b40e4d28baaebd5b3372e29b86249dcb
Log:
ext/zip: Remove un-needed symbol check for zip_open
Closes GH-4189.
Changed paths:
M ext/zip/config.m4
Diff:
diff --git a/ext/zip/config.m4 b/ext/zip/config.m4
index 25fac2b..70eafcd 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,
[