diff options
author | Andre Heider | 2009-08-21 17:19:06 +0000 |
---|---|---|
committer | Andre Heider | 2009-08-21 17:19:06 +0000 |
commit | d4d9c78fdd2c9dcbf1a7ba2345ec08ac181d1e1c (patch) | |
tree | f92e060dc1044c3c4adfcaab07f9b17a583f4919 /configure | |
parent | f9a3ca7db1de02c93be3a7548eb32138c49c7b6b (diff) | |
download | scummvm-rg350-d4d9c78fdd2c9dcbf1a7ba2345ec08ac181d1e1c.tar.gz scummvm-rg350-d4d9c78fdd2c9dcbf1a7ba2345ec08ac181d1e1c.tar.bz2 scummvm-rg350-d4d9c78fdd2c9dcbf1a7ba2345ec08ac181d1e1c.zip |
Enable 16bit support only for backends which support it
svn-id: r43602
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -110,7 +110,7 @@ _alsa=auto _zlib=auto _mpeg2=no _fluidsynth=auto -_16bit=yes +_16bit=auto _readline=auto # Default option behaviour yes/no _text_console=no @@ -639,7 +639,6 @@ DEBFLAGS="-g" for ac_option in $@; do case "$ac_option" in - --enable-16bit) _16bit=yes ;; --disable-16bit) _16bit=no ;; --disable-hq-scalers) _build_hq_scalers=no ;; --disable-scalers) _build_scalers=no ;; @@ -1496,6 +1495,23 @@ EOF fi # +# Enable 16bit support only for backends which support it +# +case $_backend in + sdl) + if test "$_16bit" = auto ; then + _16bit=yes + else + _16bit=no + fi + ;; + *) + _16bit=no + ;; +esac + + +# # Add the results of the above checks to config.h # case $_endian in |