aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2003-08-10 07:56:05 +0000
committerJames Brown2003-08-10 07:56:05 +0000
commitc2ed4c2d0ec9383e336f1e57062130487349328d (patch)
treed815d1aac1d95c05320d9aed14aa98764d038e18
parent8cc805121dd79fbfe7e60470bcc783eb4e625515 (diff)
downloadscummvm-rg350-c2ed4c2d0ec9383e336f1e57062130487349328d.tar.gz
scummvm-rg350-c2ed4c2d0ec9383e336f1e57062130487349328d.tar.bz2
scummvm-rg350-c2ed4c2d0ec9383e336f1e57062130487349328d.zip
Use debug by default for CVS trunk
svn-id: r9619
-rwxr-xr-xconfigure10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure b/configure
index 48b97b2ee6..d0ec20b03f 100755
--- a/configure
+++ b/configure
@@ -177,6 +177,8 @@ EOF
fi
done # for parm in ...
+DEBFLAGS="-g"
+
for ac_option in $@; do
case "$ac_option" in
--disable-scumm) _build_scumm=no ;;
@@ -212,8 +214,11 @@ for ac_option in $@; do
--backend=*)
_backend=`echo $ac_option | cut -d '=' -f 2`
;;
- --enable-debug)
- CXXFLAGS="$CXXFLAGS -g"
+ --disable-debug)
+ DEBFLAGS=""
+ ;;
+ --enable-release)
+ DEBFLAGS=""
;;
*)
echo "error: unrecognised option: $ac_option
@@ -223,6 +228,7 @@ Try \`$0 --help' for more information." >&2
esac;
done;
+CXXFLAGS="$CXXFLAGS $DEBFLAGS"
#
# Determine the C++ compiler
#