aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorrsn88872017-03-09 10:25:52 -0600
committerrsn88872017-03-09 10:26:26 -0600
commitbd54615363ec96c8decf34cd039017b91c7c279e (patch)
treecd924c1f6df981ee89e772735653b87f280e7175 /configure
parent12bedb4a933df74edd820e6785ae7e88c43c0247 (diff)
downloadscummvm-rg350-bd54615363ec96c8decf34cd039017b91c7c279e.tar.gz
scummvm-rg350-bd54615363ec96c8decf34cd039017b91c7c279e.tar.bz2
scummvm-rg350-bd54615363ec96c8decf34cd039017b91c7c279e.zip
TOOLS: configure options for all-unstable-engines
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure30
1 files changed, 30 insertions, 0 deletions
diff --git a/configure b/configure
index 8021a82003..2c4f4c1787 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}"