qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6883] configure sensitive to user locale (Andreas Faerber)


From: Anthony Liguori
Subject: [Qemu-devel] [6883] configure sensitive to user locale (Andreas Faerber)
Date: Sun, 22 Mar 2009 03:01:40 +0000

Revision: 6883
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6883
Author:   aliguori
Date:     2009-03-22 03:01:39 +0000 (Sun, 22 Mar 2009)
Log Message:
-----------
configure sensitive to user locale (Andreas Faerber)

On German Fedora 9, no KVM errors are displayed.
This is because configure greps for "error:", which is locale-sensitive.

Use LANG=C for configure to find and display errors as expected.

Signed-off-by: Andreas Faerber <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

Modified Paths:
--------------
    branches/stable_0_10/configure

Modified: branches/stable_0_10/configure
===================================================================
--- branches/stable_0_10/configure      2009-03-22 02:59:21 UTC (rev 6882)
+++ branches/stable_0_10/configure      2009-03-22 03:01:39 UTC (rev 6883)
@@ -1013,7 +1013,7 @@
     kvm="no";
     if [ -x "`which awk 2>/dev/null`" ] && \
        [ -x "`which grep 2>/dev/null`" ]; then
-      kvmerr=`$cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $kvm_cflags $TMPC 2>&1 \
+      kvmerr=`LANG=C $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $kvm_cflags $TMPC 
2>&1 \
        | grep "error: " \
        | awk -F "error: " '{if (NR>1) printf(", "); printf("%s",$2);}'`
       if test "$kvmerr" != "" ; then





reply via email to

[Prev in Thread] Current Thread [Next in Thread]