com php-src: Use system libzip by default: ext/zip/config.m4 travis/compile.sh
| From: | Remi Collet | Date: | Mon, 11 Sep 2017 07:23:01 +0000 |
| Subject: | com php-src: Use system libzip by default: ext/zip/config.m4 travis/compile.sh | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99343@lists.php.net to get a copy of this message | ||
Commit: 8857161bf2936bb807ac99c991509821bf7f1100
Author: Remi Collet <remi@remirepo.net> Mon, 11 Sep 2017 09:19:11 +0200
Committer: Remi Collet <remi@php.net> Mon, 11 Sep 2017 09:23:01 +0200
Parents: 9b34227a5db34f9fc5f8570df6be2cc88e67b4ab
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8857161bf2936bb807ac99c991509821bf7f1100
Log:
Use system libzip by default
Use --without-libzip in travis, as libzip version available there
is too old (0.10, while 0.11 is required, 1.3.0 is best)
The real plan is to really drop bundled libzip... delayed.
Notice: only system library have full features:
* encryption
* bzip support
Changed paths:
M ext/zip/config.m4
M travis/compile.sh
Diff:
diff --git a/ext/zip/config.m4 b/ext/zip/config.m4
index 7ae4325..f928700 100644
--- a/ext/zip/config.m4
+++ b/ext/zip/config.m4
@@ -14,7 +14,7 @@ PHP_ARG_WITH(pcre-dir, pcre install prefix,
[ --with-pcre-dir ZIP: pcre install prefix], no, no)
PHP_ARG_WITH(libzip, libzip,
-[ --with-libzip[=DIR] ZIP: use libzip], no, no)
+[ --with-libzip[=DIR] ZIP: use libzip], yes, no)
if test "$PHP_ZIP" != "no"; then
diff --git a/travis/compile.sh b/travis/compile.sh
index b2d29b9..0017026 100755
--- a/travis/compile.sh
+++ b/travis/compile.sh
@@ -45,6 +45,7 @@ $TS \
--with-png-dir=/usr \
--enable-exif \
--enable-zip \
+--without-libzip \
--with-zlib \
--with-zlib-dir=/usr \
--enable-soap \