From 8ebbe99328248d45f3937c4f15f936d5d36f4a58 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Feb 2008 12:17:34 +0000 Subject: FS#8482 take two. Make the language files built first, so that the largest size can be used as buffer size for languages. Work to this also contributed by Jonas Haggqvist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16343 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index 49773e1a6f..e1ca5be190 100755 --- a/tools/configure +++ b/tools/configure @@ -1785,6 +1785,11 @@ else voicetoolset="voicefont wavtrim" fi +if test "$apps" = "apps"; then + # only when we build "real" apps we build the .lng files + buildlangs="langs" +fi + sed > Makefile \ -e "s,@ROOTDIR@,${rootdir},g" \ -e "s,@DEBUG@,${debug},g" \ @@ -1842,6 +1847,7 @@ sed > Makefile \ -e "s,@TTS_ENGINE@,${TTS_ENGINE},g" \ -e "s,@TTS_OPTS@,${TTS_OPTS},g" \ -e "s,@VOICETOOLSET@,${voicetoolset},g" \ + -e "s,@LANGS@,${buildlangs},g" \ <