aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-11 22:52:14 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitfade746f374cc801870e68934f1dbb3e9c726198 (patch)
tree2cfe2a4e5b571c849ae9cd4525496f3a5838a39d /configure
parent6c83930126a2dcb9af4fa631fc7226db1756f801 (diff)
downloadscummvm-rg350-fade746f374cc801870e68934f1dbb3e9c726198.tar.gz
scummvm-rg350-fade746f374cc801870e68934f1dbb3e9c726198.tar.bz2
scummvm-rg350-fade746f374cc801870e68934f1dbb3e9c726198.zip
CLOUD: Add USE_CLOUD feature
Adds USE_CLOUD in both configure and create_project.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure b/configure
index 9c3da0a214..8b6068b44a 100755
--- a/configure
+++ b/configure
@@ -4191,6 +4191,28 @@ echo "$_libcurl"
define_in_config_if_yes "$_libcurl" "USE_LIBCURL"
#
+# Check whether to build cloud integration support
+#
+echo_n "Cloud integration"
+if test "$_cloud" = "no"; then
+ echo "no"
+else
+ if test "_sdl_net" = "yes" -or "_libcurl" = "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"
+ fi
+fi
+define_in_config_if_yes $_cloud 'USE_CLOUD'
+
+#
# Check is NSDockTilePlugIn protocol is supported
#
case $_host_os in