diff options
| author | Max Horn | 2009-03-13 16:31:53 +0000 |
|---|---|---|
| committer | Max Horn | 2009-03-13 16:31:53 +0000 |
| commit | 50ab52a12f24921ba6913c230686875fcf6cfa69 (patch) | |
| tree | c91c6755ee39c97ad85ef51bb111b00b37aa631c /configure | |
| parent | 364ce5874de28a39d1dfa18024c18fd8812f7f9e (diff) | |
| download | scummvm-rg350-50ab52a12f24921ba6913c230686875fcf6cfa69.tar.gz scummvm-rg350-50ab52a12f24921ba6913c230686875fcf6cfa69.tar.bz2 scummvm-rg350-50ab52a12f24921ba6913c230686875fcf6cfa69.zip | |
Added --enable-all-engines and --disable-all-engines to configure script
svn-id: r39372
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -376,6 +376,20 @@ get_engine_sub() { echo $sub } +# Enable *all* engines +engine_enable_all() { + for engine in $_engines; do + eval _engine_${engine}_build=no + done +} + +# Disable *all* engines +engine_disable_all() { + for engine in $_engines; do + eval _engine_${engine}_build=no + done +} + # Enable the given engine engine_enable() { # Get the parameter @@ -604,6 +618,8 @@ Special configuration feature: Optional Features: --disable-debug disable building with debugging symbols --enable-Werror treat warnings as errors + --enable-all-engines enable all engines + --disable-all-engines disable all engines $engines_help --enable-plugins enable the support for dynamic plugins --default-dynamic make plugins dynamic by default @@ -781,6 +797,12 @@ for ac_option in $@; do --libdir=*) _libdir=`echo $ac_option | cut -d '=' -f 2` ;; + --enable-all-engines) + engine_enable_all + ;; + --disable-all-engines) + engine_disable_all + ;; --enable-*) engine_enable `echo $ac_option | cut -d '-' -f 4-` ;; |
