From ebe963d5540b7669ca30d747f17d1d37addf90de Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 20 Sep 2002 06:38:38 +0000 Subject: Added "select a language" stuff Made the extra_defines a bit different (to prevent it from growing all the time on "configure update" invokes) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2341 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 115 +++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 76 insertions(+), 39 deletions(-) diff --git a/tools/configure b/tools/configure index d5d20b3a12..5d1df355c2 100755 --- a/tools/configure +++ b/tools/configure @@ -11,8 +11,6 @@ target=$1 debug=$2 -extra_defines="-" - if test "$1" = "--help"; then echo "Rockbox configure script." echo "Invoke this in a directory to generate a Makefile to build Rockbox" @@ -92,8 +90,9 @@ sed > Makefile \ -e "s,@DISPLAY@,${display},g" \ -e "s,@KEYPAD@,${keypad},g" \ -e "s,@PWD@,${pwd},g" \ + -e "s,@LANGUAGE@,${language},g" \ -e "s,@SIMVER@,${simver},g" \ - -e "s,@EXTRA_DEFINES@,\"${extra_defines}\",g" \ + -e "s,@EXTRA_DEFINES@,${extra_defines},g" \ < Makefile \ -e "s,@FIRMDIR@,${firmdir},g" \ -e "s,@APPSDIR@,${appsdir},g" \ -e "s,@DEBUG@,${debug},g" \ -e "s,@TARGET@,${target},g" \ - -e "s,@EXTRA_DEFINES@,\"${extra_defines}\",g" \ + -e "s,@LANGUAGE@,${language},g" \ + -e "s,@EXTRA_DEFINES@,${extra_defines},g" \ -e "s,@PWD@,${pwd},g" \ <