summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hak <adiamas@rockbox.org>2002-08-31 23:21:59 +0000
committerRobert Hak <adiamas@rockbox.org>2002-08-31 23:21:59 +0000
commit28c60ff40ac918c2a7ede4da7b30b4ace06845d6 (patch)
tree62af99e460a712e05a0b6f8983236e502a4a0ef2
parentd97423527f6a6c4eddaaec614cb95f2fca4d9814 (diff)
downloadrockbox-28c60ff40ac918c2a7ede4da7b30b4ace06845d6.zip
rockbox-28c60ff40ac918c2a7ede4da7b30b4ace06845d6.tar.gz
rockbox-28c60ff40ac918c2a7ede4da7b30b4ace06845d6.tar.bz2
rockbox-28c60ff40ac918c2a7ede4da7b30b4ace06845d6.tar.xz
Corrected to allow for game removal via USE_GAMES (on by default)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2104 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure17
1 files changed, 13 insertions, 4 deletions
diff --git a/tools/configure b/tools/configure
index 3d654f9..a65e3c9 100755
--- a/tools/configure
+++ b/tools/configure
@@ -186,12 +186,20 @@ if [ "-" = "$extra_defines" ]; then
if [ "-DARCHOS_RECORDER" = "$target" ] ; then
- echo "Do you want to make use of Screensavers? (Y)"
+ echo "Do you want to use Screensavers? (Y)"
getit=`input`;
if [ "n" = "$getit" -o "N" = "$getit" ] ; then
- extra_defines=""
+ extra_defines="$extra_defines"
else
- extra_defines="-DUSE_SCREENSAVERS"
+ extra_defines="$extra_defines -DUSE_SCREENSAVERS"
+ fi
+
+ echo "Do you want to play Games? (Y)"
+ getit=`input`;
+ if [ "n" = "$getit" -o "N" = "$getit" ] ; then
+ extra_defines="$extra_defines"
+ else
+ extra_defines="$extra_defines -DUSE_GAMES"
fi
echo "Loadable fonts support? (N)"
@@ -211,6 +219,7 @@ if [ "-" = "$extra_defines" ]; then
fi
fi
+
if [ -z "$debug" ]; then
##################################################################
# Figure out debug on/off
@@ -286,7 +295,7 @@ sed > Makefile \
-e "s,@APPSDIR@,${appsdir},g" \
-e "s,@DEBUG@,${debug},g" \
-e "s,@TARGET@,${target},g" \
- -e "s,@EXTRA_DEFINES@,${extra_defines},g" \
+ -e "s,@EXTRA_DEFINES@,\"${extra_defines}\",g" \
-e "s,@PWD@,${pwd},g" \
<<EOF
## Automaticly generated. http://rockbox.haxx.se