From 782cd9ef2e79594d7bf098fe21f8c691d1a0096c Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 29 Mar 2013 16:54:58 -0700 Subject: Ensure GCC prints its messages in English when we parse them We're trying to parse GCC output, so let's make sure that they are in English. I've seen some reports that "search starts here" was translated to some locales. Change-Id: If09b1f45607f65d054496db65418e413b8aa8d48 Reviewed-by: Oswald Buddenhagen --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 0d5ffc60aa..8101764c47 100755 --- a/configure +++ b/configure @@ -2961,7 +2961,7 @@ else fi # auto-detect default include and library search paths -gccout=`$TEST_COMPILER $SYSROOT_FLAG $TEST_COMPILER_CXXFLAGS -xc++ -E -v - < /dev/null 2>&1 > /dev/null` +gccout=`LC_ALL=C $TEST_COMPILER $SYSROOT_FLAG $TEST_COMPILER_CXXFLAGS -xc++ -E -v - < /dev/null 2>&1 > /dev/null` # extract from one line like 'LIBRARY_PATH=/one/path:/another/path:...' libdirs=`echo "$gccout" | sed -n -e 's/^LIBRARY_PATH=\(.*\)/\1/p'` DEFAULT_LIBDIRS=`IFS=${HOST_DIRLIST_SEP}; for i in $libdirs; do test -d "$i" && cd "$i" && pwd; done` -- cgit v1.2.3