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

Diego 'Flameeyes' Pettenò flameeyes
Thu Oct 2 15:39:02 CEST 2008


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
+
 # make sure we are running under a compatible shell
 # try to make this part work with most shells
 





More information about the ffmpeg-devel mailing list