[FFmpeg-devel] [PATCH 1/2] Set LC_ALL to C at the start of the configure run.

Måns Rullgård mans
Thu Oct 2 16:00:00 CEST 2008


Diego 'Flameeyes' Petten? wrote:
> Since different locales can output different messages, which makes
> troubleshooting harder, and makes it impossible to grep for specific
> messages (like compiler warnings) during testing, reset the locale to
> the default (C) locale at the beginning of the script.
> ---
>
>  configure |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/configure b/configure
> index 0fb0721..349464e 100755
> --- a/configure
> +++ b/configure
> @@ -7,6 +7,10 @@
>  # Copyright (c) 2005-2006 Mans Rullgard
>  #
>
> +# Use standard locale, to make sure the messages are in English,
> +# rather than system locale
> +LC_ALL=C

Close, but no cigar.  You need to "export LC_ALL" too.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list