[Scummvm-git-logs] scummvm master -> 49601a7ac8078bcdb1013b7b80018e2ab073b77f

rsn8887 rsn8887 at users.noreply.github.com
Fri Jun 7 00:42:16 CEST 2019


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:
49601a7ac8 CONFIGURE: Add --disable-all-unstable-engines for use with buildbot


Commit: 49601a7ac8078bcdb1013b7b80018e2ab073b77f
    https://github.com/scummvm/scummvm/commit/49601a7ac8078bcdb1013b7b80018e2ab073b77f
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2019-06-06T17:41:47-05:00

Commit Message:
CONFIGURE: Add --disable-all-unstable-engines for use with buildbot

Changed paths:
    configure


diff --git a/configure b/configure
index 68e977d..a8d48ff 100755
--- a/configure
+++ b/configure
@@ -662,6 +662,16 @@ engine_disable_all() {
 	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
+			set_var _engine_${engine}_build "no"
+		fi
+	done
+}
+
 # Enable the given engine
 engine_enable() {
 	# Get the parameter
@@ -982,6 +992,8 @@ Game engines:
   --enable-all-engines     enable all engines, including those which are
                            broken or unsupported
   --disable-all-engines    disable all engines
+  --disable-all-unstable-engines    disable only the 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>...]
@@ -1444,6 +1456,9 @@ for ac_option in $@; do
 	--disable-all-engines)
 		engine_disable_all
 		;;
+	--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