Enable postgres support for openswoole (#468)

pull/469/head 1.4.3
Michele Locati 2021-12-05 12:41:29 +01:00 committed by GitHub
parent c516929275
commit 10bc5d5e5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -2356,6 +2356,10 @@ installRemoteModule() {
addConfigureOption enable-swoole-json yes addConfigureOption enable-swoole-json yes
# enable curl support? # enable curl support?
addConfigureOption enable-swoole-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?
addConfigureOption with-postgres yes
fi
;; ;;
parallel) parallel)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then