aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndre Heider2009-08-21 18:16:37 +0000
committerAndre Heider2009-08-21 18:16:37 +0000
commit007f68366fd55a519753bf533c7c3a80db3754f0 (patch)
treed25cade63a148fdd6b2190151e8e1f5c87a73ef3 /configure
parentc0d954334547c166b52b37199ad877bc7e5ac2b0 (diff)
downloadscummvm-rg350-007f68366fd55a519753bf533c7c3a80db3754f0.tar.gz
scummvm-rg350-007f68366fd55a519753bf533c7c3a80db3754f0.tar.bz2
scummvm-rg350-007f68366fd55a519753bf533c7c3a80db3754f0.zip
Renamed ENABLE_RGB_COLOR to USE_RGB_COLOR, and added it to config.h to guarantee a consistent build.
svn-id: r43604
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 061089361b..5b5c62bfb9 100755
--- a/configure
+++ b/configure
@@ -1669,7 +1669,12 @@ add_to_config_mk_if_yes "$_mt32emu" 'USE_MT32EMU = 1'
#
# Check whether 16bit color support is requested
#
-add_to_config_mk_if_yes "$_16bit" 'ENABLE_RGB_COLOR = 1'
+if test "$_16bit" = no ; then
+ _def_16bit='#undef USE_RGB_COLOR'
+else
+ _def_16bit='#define USE_RGB_COLOR'
+fi
+add_to_config_mk_if_yes "$_16bit" 'USE_RGB_COLOR = 1'
#
# Check whether to enable the (hq) scalers
@@ -2260,6 +2265,7 @@ $_def_readline
/* Options */
$_def_text_console
$_def_mt32emu
+$_def_16bit
/* Plugin settings */
$_def_plugin