1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Parle: fix support on PHP 7.3-, enable internal UTF-32 support (#745)

This commit is contained in:
Michele Locati 2023-05-15 14:42:41 +02:00 committed by GitHub
parent 5ce76a5613
commit 0a0f2dfc5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3038,7 +3038,16 @@ installRemoteModule() {
;;
parle)
if test -z "$installRemoteModule_version"; then
installRemoteModule_version=beta
if test $PHP_MAJMIN_VERSION -lt 704; then
installRemoteModule_version=0.8.3
else
installRemoteModule_version=beta
fi
fi
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" 0.8.4) -ge 0; then
# Enable internal UTF-32 support in parle
addConfigureOption enable-parle-utf32 yes
fi
;;
pcov)