Received: from eggs.gnu.org ([208.118.235.92]:54004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBsqh-0005Ww-Ki for qemu-devel@nongnu.org; Sun, 25 Mar 2012 15:11:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBsqf-00032N-Lp for qemu-devel@nongnu.org; Sun, 25 Mar 2012 15:11:31 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:42834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBsqf-00032F-Fm for qemu-devel@nongnu.org; Sun, 25 Mar 2012 15:11:29 -0400 From: Stefan Weil Date: Sun, 25 Mar 2012 21:11:11 +0200 Message-Id: <1332702671-32076-3-git-send-email-sw@weilnetz.de> In-Reply-To: <1332702671-32076-1-git-send-email-sw@weilnetz.de> References: <1332702671-32076-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 2/2] configure: Set default locale C (fix build for Turkish locale) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Emre Ersin , Stefan Weil Some locales don't work with QEMU's configure because they don't convert lower case to upper case as expected. With the Turkish locale tr_TR.UTF-8 for example the command 'tr' does not convert lower case 'i' which results in wrong definitions in some target specific config-target.mak files: TARGET_CRiS=y TARGET_i386=y TARGET_MiCROBLAZE=y TARGET_MiPS64=y TARGET_MiPS=y TARGET_UNiCORE32=y Setting the default locale C in configure avoids this problem. Signed-off-by: Stefan Weil --- configure | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 14ef738..2eab795 100755 --- a/configure +++ b/configure @@ -2,6 +2,11 @@ # # qemu configure script (c) 2003 Fabrice Bellard # +# Set locale to C (needed for tr). +export LANG=C +export LC_ALL=C +export LC_CTYPE=C + # set temporary file name if test ! -z "$TMPDIR" ; then TMPDIR1="${TMPDIR}" -- 1.7.9