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.tar.gz
rockbox-28c60ff40ac918c2a7ede4da7b30b4ace06845d6.zip
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 3d654f9664..a65e3c90d2 100755
--- a/tools/configure
+++ b/tools/configure
@@ -186,12 +186,20 @@ if [ "-" = "$extra_defines" ]; then
186 186
187 if [ "-DARCHOS_RECORDER" = "$target" ] ; then 187 if [ "-DARCHOS_RECORDER" = "$target" ] ; then
188 188
189 echo "Do you want to make use of Screensavers? (Y)" 189 echo "Do you want to use Screensavers? (Y)"
190 getit=`input`; 190 getit=`input`;
191 if [ "n" = "$getit" -o "N" = "$getit" ] ; then 191 if [ "n" = "$getit" -o "N" = "$getit" ] ; then
192 extra_defines="" 192 extra_defines="$extra_defines"
193 else 193 else
194 extra_defines="-DUSE_SCREENSAVERS" 194 extra_defines="$extra_defines -DUSE_SCREENSAVERS"
195 fi
196
197 echo "Do you want to play Games? (Y)"
198 getit=`input`;
199 if [ "n" = "$getit" -o "N" = "$getit" ] ; then
200 extra_defines="$extra_defines"
201 else
202 extra_defines="$extra_defines -DUSE_GAMES"
195 fi 203 fi
196 204
197 echo "Loadable fonts support? (N)" 205 echo "Loadable fonts support? (N)"
@@ -211,6 +219,7 @@ if [ "-" = "$extra_defines" ]; then
211 fi 219 fi
212fi 220fi
213 221
222
214if [ -z "$debug" ]; then 223if [ -z "$debug" ]; then
215 ################################################################## 224 ##################################################################
216 # Figure out debug on/off 225 # Figure out debug on/off
@@ -286,7 +295,7 @@ sed > Makefile \
286 -e "s,@APPSDIR@,${appsdir},g" \ 295 -e "s,@APPSDIR@,${appsdir},g" \
287 -e "s,@DEBUG@,${debug},g" \ 296 -e "s,@DEBUG@,${debug},g" \
288 -e "s,@TARGET@,${target},g" \ 297 -e "s,@TARGET@,${target},g" \
289 -e "s,@EXTRA_DEFINES@,${extra_defines},g" \ 298 -e "s,@EXTRA_DEFINES@,\"${extra_defines}\",g" \
290 -e "s,@PWD@,${pwd},g" \ 299 -e "s,@PWD@,${pwd},g" \
291<<EOF 300<<EOF
292## Automaticly generated. http://rockbox.haxx.se 301## Automaticly generated. http://rockbox.haxx.se