Add support for LZF
parent
fbd19903cf
commit
c23d3891b6
|
@ -248,6 +248,14 @@ zlib
|
||||||
[Zend Modules]
|
[Zend Modules]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
The compilation of some extensions may be fine-tuned to better fit your needs by using environment variables:
|
||||||
|
|
||||||
|
| Extension | Environment variable | Description |
|
||||||
|
|---|---|---|
|
||||||
|
| lzf | IPE_LZF_BETTERCOMPRESSION=1 | By default `install-php-extensions` compiles the `lzf` extension to prefer speed over size; you can use this environment variable to compile it preferring size over speed |
|
||||||
|
|
||||||
## Special requirements
|
## Special requirements
|
||||||
|
|
||||||
Some extensions have special requirements:
|
Some extensions have special requirements:
|
||||||
|
|
|
@ -34,6 +34,7 @@ intl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
ioncube_loader 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
ioncube_loader 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||||
json_post 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
json_post 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
ldap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
ldap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
|
lzf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
maxminddb 7.2 7.3 7.4 8.0
|
maxminddb 7.2 7.3 7.4 8.0
|
||||||
mcrypt 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
mcrypt 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
|
|
|
@ -1703,6 +1703,19 @@ installRemoteModule() {
|
||||||
cp "$installRemoteModule_src/$installRemoteModule_so" "$(getPHPExtensionsDir)/$installRemoteModule_module.so"
|
cp "$installRemoteModule_src/$installRemoteModule_so" "$(getPHPExtensionsDir)/$installRemoteModule_module.so"
|
||||||
installRemoteModule_manuallyInstalled=1
|
installRemoteModule_manuallyInstalled=1
|
||||||
;;
|
;;
|
||||||
|
lzf)
|
||||||
|
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '1.5.0') -ge 0; then
|
||||||
|
# Sacrifice speed in favour of compression ratio?
|
||||||
|
case "${IPE_LZF_BETTERCOMPRESSION:-}" in
|
||||||
|
1 | y* | Y*)
|
||||||
|
addConfigureOption 'enable-lzf-better-compression' 'yes'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
addConfigureOption 'enable-lzf-better-compression' 'no'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
;;
|
||||||
mailparse)
|
mailparse)
|
||||||
if test -z "$installRemoteModule_version"; then
|
if test -z "$installRemoteModule_version"; then
|
||||||
if test $PHP_MAJMIN_VERSION -le 506; then
|
if test $PHP_MAJMIN_VERSION -le 506; then
|
||||||
|
|
Loading…
Reference in New Issue