--- qemu-0.11.0/configure +++ qemu-0.11.0/configure @@ -1508,7 +1508,7 @@ ;; esac echo "ARCH=$ARCH" >> $config_host_mak -arch_name=`echo $ARCH | tr '[:lower:]' '[:upper:]'` +arch_name=`echo $ARCH | LC_ALL=C tr '[:lower:]' '[:upper:]'` echo "#define HOST_$arch_name 1" >> $config_host_h if test "$debug_tcg" = "yes" ; then @@ -1599,14 +1599,14 @@ echo "VDE_LIBS=-lvdeplug" >> $config_host_mak fi for card in $audio_card_list; do - def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'` + def=CONFIG_`echo $card | LC_ALL=C tr '[:lower:]' '[:upper:]'` echo "$def=y" >> $config_host_mak echo "#define $def 1" >> $config_host_h done echo "#define AUDIO_DRIVERS \\" >> $config_host_h for drv in $audio_drv_list; do echo " &${drv}_audio_driver, \\" >>$config_host_h - def=CONFIG_`echo $drv | tr '[:lower:]' '[:upper:]'` + def=CONFIG_`echo $drv | LC_ALL=C tr '[:lower:]' '[:upper:]'` echo "$def=y" >> $config_host_mak if test "$drv" = "fmod"; then echo "CONFIG_FMOD_LIB=$fmod_lib" >> $config_host_mak --- qemu-0.11.0/create_config +++ qemu-0.11.0/create_config @@ -17,14 +17,14 @@ ;; TARGET_ARCH=*) # configuration target_arch=${line#*=} - arch_name=`echo $target_arch | tr '[:lower:]' '[:upper:]'` + arch_name=`echo $target_arch | LC_ALL=C tr '[:lower:]' '[:upper:]'` echo "#define TARGET_ARCH \"$target_arch\"" echo "#define TARGET_$arch_name 1" ;; TARGET_BASE_ARCH=*) # configuration target_base_arch=${line#*=} if [ "$target_base_arch" != "$target_arch" ]; then - base_arch_name=`echo $target_base_arch | tr '[:lower:]' '[:upper:]'` + base_arch_name=`echo $target_base_arch | LC_ALL=C tr '[:lower:]' '[:upper:]'` echo "#define TARGET_$base_arch_name 1" fi ;;