CONFIGURE: Add --enable-all-unstable-engines option

This commit is contained in:
Cameron Cawley 2019-06-18 16:15:21 +01:00 committed by Filippos Karapetis
parent 1596b73110
commit 0f9abb8e62

15
configure vendored
View File

@ -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
;;