aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-12 14:29:27 +0200
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit14785b12d35882f5de0aa197213ae7eda505a463 (patch)
tree72793c03f7b6be1f4fe3244ec86a7bd966f7fd60
parentfade746f374cc801870e68934f1dbb3e9c726198 (diff)
downloadscummvm-rg350-14785b12d35882f5de0aa197213ae7eda505a463.tar.gz
scummvm-rg350-14785b12d35882f5de0aa197213ae7eda505a463.tar.bz2
scummvm-rg350-14785b12d35882f5de0aa197213ae7eda505a463.zip
CONFIGURE: Fix cloud support detection
-rwxr-xr-xconfigure24
1 files changed, 13 insertions, 11 deletions
diff --git a/configure b/configure
index 8b6068b44a..de01ca7edc 100755
--- a/configure
+++ b/configure
@@ -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'