Update openswoole configure options to version 22.0.0 (#701)

pull/702/head 2.0.6
Michele Locati 2023-02-23 12:55:53 +01:00 committed by GitHub
parent 8e5b125f1f
commit e13908605f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 5 deletions

View File

@ -2994,13 +2994,20 @@ installRemoteModule() {
addConfigureOption enable-http2 yes addConfigureOption enable-http2 yes
# enable mysqlnd support? # enable mysqlnd support?
addConfigureOption enable-mysqlnd yes addConfigureOption enable-mysqlnd yes
# enable json support? if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '22.8.0') -ge 0; then
addConfigureOption enable-swoole-json yes #enable hook curl support?
# enable curl support? addConfigureOption enable-hook-curl yes
addConfigureOption enable-swoole-curl yes
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '4.8.0') -ge 0; then
# enable postgres support? # enable postgres support?
addConfigureOption with-postgres yes addConfigureOption with-postgres yes
else
# enable json support?
addConfigureOption enable-swoole-json yes
# enable curl support?
addConfigureOption enable-swoole-curl yes
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '4.8.0') -ge 0; then
# enable postgres support?
addConfigureOption with-postgres yes
fi
fi fi
;; ;;
parallel) parallel)