diff options
author | Eugene Sandulenko | 2016-05-12 14:29:27 +0200 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 14785b12d35882f5de0aa197213ae7eda505a463 (patch) | |
tree | 72793c03f7b6be1f4fe3244ec86a7bd966f7fd60 | |
parent | fade746f374cc801870e68934f1dbb3e9c726198 (diff) | |
download | scummvm-rg350-14785b12d35882f5de0aa197213ae7eda505a463.tar.gz scummvm-rg350-14785b12d35882f5de0aa197213ae7eda505a463.tar.bz2 scummvm-rg350-14785b12d35882f5de0aa197213ae7eda505a463.zip |
CONFIGURE: Fix cloud support detection
-rwxr-xr-x | configure | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -4193,22 +4193,24 @@ define_in_config_if_yes "$_libcurl" "USE_LIBCURL" # # Check whether to build cloud integration support # -echo_n "Cloud integration" +echo_n "Cloud integration..." if test "$_cloud" = "no"; then echo "no" else - if test "_sdl_net" = "yes" -or "_libcurl" = "yes"; then + _cloud=no + if test "$_sdlnet" = "yes"; then _cloud=yes - if test "_sdl_net" = "yes"; then - echo "local" - fi - if test "_libcurl" = "yes"; then - echo "servers" - fi - else - _cloud=no - echo "no" + echo_n "local" + fi + if test "$_libcurl" = "yes"; then + if test "$_cloud" = "yes"; then echo_n ", "; fi + _cloud=yes + echo_n "servers" + fi + if test "$_cloud" = "no"; then + echo_n "no" fi + echo # newline fi define_in_config_if_yes $_cloud 'USE_CLOUD' |