aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCameron Cawley2019-06-18 16:15:21 +0100
committerFilippos Karapetis2019-06-20 05:19:18 +0300
commit0f9abb8e62ba5b031579129e04989c07f139b5f4 (patch)
treeefe0e85dceb35b30acab935a5d87eae387df8979 /configure
parent1596b73110739e71a943bf7a366c3b17e926456f (diff)
downloadscummvm-rg350-0f9abb8e62ba5b031579129e04989c07f139b5f4.tar.gz
scummvm-rg350-0f9abb8e62ba5b031579129e04989c07f139b5f4.tar.bz2
scummvm-rg350-0f9abb8e62ba5b031579129e04989c07f139b5f4.zip
CONFIGURE: Add --enable-all-unstable-engines option
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index 6edc2f95ab..35817708aa 100755
--- a/configure
+++ b/configure
@@ -662,6 +662,16 @@ 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
+ set_var _engine_${engine}_build "yes"
+ fi
+ done
+}
+
# Disable all unstable engines
engine_disable_all_unstable() {
for engine in $_engines; do
@@ -992,6 +1002,8 @@ 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 the engines which are
+ broken or unsupported
--disable-all-unstable-engines disable only the engines which are
broken or unsupported
--enable-engine=<engine name>[,<engine name>...] enable engine(s) listed
@@ -1456,6 +1468,9 @@ 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
;;