[Scummvm-git-logs] scummvm master -> bd54615363ec96c8decf34cd039017b91c7c279e

rsn8887 rsn8887 at users.noreply.github.com
Thu Mar 9 17:32:06 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
bd54615363 TOOLS: configure options for all-unstable-engines


Commit: bd54615363ec96c8decf34cd039017b91c7c279e
    https://github.com/scummvm/scummvm/commit/bd54615363ec96c8decf34cd039017b91c7c279e
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2017-03-09T10:26:26-06:00

Commit Message:
TOOLS: configure options for all-unstable-engines

Changed paths:
    configure


diff --git a/configure b/configure
index 8021a82..2c4f4c1 100755
--- a/configure
+++ b/configure
@@ -626,6 +626,26 @@ engine_disable_all() {
 	done
 }
 
+# Enable *all unstable* engines
+engine_enable_all_unstable() {
+	for engine in $_engines; do
+		engine_build_default=`get_engine_build_default $engine`
+		if test $engine_build_default = no ; then
+			engine_enable $engine
+		fi
+	done
+}
+
+# Disable *all unstable* engines
+engine_disable_all_unstable() {
+	for engine in $_engines; do
+		engine_build_default=`get_engine_build_default $engine`
+		if test $engine_build_default = no ; then
+			engine_disable ${engine}
+		fi
+	done
+}
+
 # Enable the given engine
 engine_enable() {
 	# Get the parameter
@@ -946,6 +966,10 @@ Game engines:
   --enable-all-engines     enable all engines, including those which are
                            broken or unsupported
   --disable-all-engines    disable all engines
+  --enable-all-unstable-engines
+      enable all engines which are broken or unsupported
+  --disable-all-unstable-engines
+      disable all engines which are broken or unsupported
   --enable-engine=<engine name>[,<engine name>...] enable engine(s) listed
   --disable-engine=<engine name>[,<engine name>...] disable engine(s) listed
   --enable-engine-static=<engine name>[,<engine name>...]
@@ -1350,6 +1374,12 @@ for ac_option in $@; do
 	--disable-all-engines)
 		engine_disable_all
 		;;
+	--enable-all-unstable-engines)
+		engine_enable_all_unstable
+		;;
+	--disable-all-unstable-engines)
+		engine_disable_all_unstable
+		;;
 	--enable-engine=* | --enable-engines=*)
 		for engine_name in `echo $ac_option | cut -d '=' -f 2- | tr ',' '\n'`; do
 			engine_enable "${engine_name}"





More information about the Scummvm-git-logs mailing list