diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-09 10:43:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-09 10:43:51 +0000 |
commit | d2a10f5676a4ab53aec437bd5976e2aef6bde0a4 (patch) | |
tree | 934e6438be8c204cee5f65d0fc375762ac9e8ab5 | |
parent | 186d468588268d91a5f59793c80d44380e822481 (diff) | |
download | rockbox-d2a10f5676a4ab53aec437bd5976e2aef6bde0a4.tar.gz rockbox-d2a10f5676a4ab53aec437bd5976e2aef6bde0a4.zip |
removed the language choice, now always uses english built-in
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8311 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-x | tools/configure | 43 |
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 | |||
270 | fi | 270 | fi |
271 | } | 271 | } |
272 | 272 | ||
273 | picklang() { | ||
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 | |||
290 | whichlang() { | ||
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 | |||
301 | if test "$1" = "--help"; then | 273 | if 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 | ||
758 | whichaddr | 730 | whichaddr |
759 | 731 | ||
760 | ############################################################################ | 732 | # this was once possible to change at build-time, but no more: |
761 | # language | 733 | language="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 | ||
774 | uname=`uname` | 735 | uname=`uname` |
775 | 736 | ||