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

pull/746/head 2.1.23
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
1 changed files with 10 additions and 1 deletions

View File

@ -3038,8 +3038,17 @@ installRemoteModule() {
;;
parle)
if test -z "$installRemoteModule_version"; then
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)
if test -z "$installRemoteModule_version"; then