summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure43
1 files changed, 2 insertions, 41 deletions
diff --git a/tools/configure b/tools/configure
index fc8a52e058..042080ff94 100755
--- a/tools/configure
+++ b/tools/configure
@@ -270,34 +270,6 @@ if [ -z "$simver" ]; then
270fi 270fi
271} 271}
272 272
273picklang() {
274 # figure out which languages that are around
275 for file in $rootdir/apps/lang/*.lang; do
276 clean=`echo $file | sed -e 's:.*/::g' | cut "-d." -f1`
277 langs="$langs $clean"
278 done
279
280 num=1
281 for one in $langs; do
282 echo "$num. $one"
283 num=`expr $num + 1`
284 done
285
286 read pick
287 return $pick;
288}
289
290whichlang() {
291 num=1
292 for one in $langs; do
293 if [ "$num" = "$pick" ]; then
294 echo $one
295 return
296 fi
297 num=`expr $num + 1`
298 done
299}
300
301if test "$1" = "--help"; then 273if test "$1" = "--help"; then
302 echo "Rockbox configure script." 274 echo "Rockbox configure script."
303 echo "Invoke this in a directory to generate a Makefile to build Rockbox" 275 echo "Invoke this in a directory to generate a Makefile to build Rockbox"
@@ -757,19 +729,8 @@ fi
757 729
758whichaddr 730whichaddr
759 731
760############################################################################ 732# this was once possible to change at build-time, but no more:
761# language 733language="english"
762
763 echo "Select a number for the language to use (default is english)"
764
765 picklang
766 language=`whichlang`
767
768 if [ -z "$language" ]; then
769 # pick a default
770 language="english"
771 fi
772 echo "Language set to $language"
773 734
774uname=`uname` 735uname=`uname`
775 736