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,6 +2994,12 @@ installRemoteModule() {
addConfigureOption enable-http2 yes
# enable mysqlnd support?
addConfigureOption enable-mysqlnd yes
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '22.8.0') -ge 0; then
#enable hook curl support?
addConfigureOption enable-hook-curl yes
# enable postgres support?
addConfigureOption with-postgres yes
else
# enable json support?
addConfigureOption enable-swoole-json yes
# enable curl support?
@ -3002,6 +3008,7 @@ installRemoteModule() {
# enable postgres support?
addConfigureOption with-postgres yes
fi
fi
;;
parallel)
if test -z "$installRemoteModule_version"; then