aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorD G Turner2013-07-11 01:53:06 +0100
committerD G Turner2013-07-11 01:53:06 +0100
commit1e646c5470514e5b5f159b43d43eec442b3aec38 (patch)
treec4434180d83ee812a1c63b343c12a49a3e09b682 /configure
parente6259afc2345e82bbf1f019301b13137b67ffece (diff)
downloadscummvm-rg350-1e646c5470514e5b5f159b43d43eec442b3aec38.tar.gz
scummvm-rg350-1e646c5470514e5b5f159b43d43eec442b3aec38.tar.bz2
scummvm-rg350-1e646c5470514e5b5f159b43d43eec442b3aec38.zip
DC: Amend tests on serial disable/enable blocks.
These now restore the original release build logic to ensure that we don't have issues with releases. Missing something here as _debug_build doesn't seem to work as I expected...
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index bf991491b0..7983f5a1ce 100755
--- a/configure
+++ b/configure
@@ -2375,7 +2375,7 @@ if test -n "$_host"; then
DEFINES="$DEFINES -DDISABLE_TEXT_CONSOLE"
DEFINES="$DEFINES -DDISABLE_COMMAND_LINE"
# Enable serial debugging output only when --enable-debug is passed
- if test "$_debug_build" != yes; then
+ if test "$_release_build" = yes -o "$_debug_build" != yes; then
DEFINES="$DEFINES -DNOSERIAL"
fi
_optimization_level=-O3
@@ -2708,7 +2708,7 @@ case $_backend in
LDFLAGS="$LDFLAGS "'$(ronindir)/lib/crt0.o'
LDFLAGS="$LDFLAGS "'-L$(ronindir)/lib'
# Enable serial debugging output only when --enable-debug is passed
- if test "$_debug_build" != yes; then
+ if test "$_release_build" = yes -o "$_debug_build" != yes; then
LIBS="$LIBS -lronin-noserial -lm"
else
LIBS="$LIBS -lronin -lm"