зеркало из https://github.com/mozilla/gecko-dev.git
Build fails with french version of VC7 because of case-sensitivity of version msg
b=214597, r=cls@seawood.org, sr=leaf@mozilla.org
This commit is contained in:
Родитель
5d4be46294
Коммит
ce180c43c0
|
@ -2622,10 +2622,10 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|||
|
||||
|
||||
# Determine compiler version
|
||||
CC_VERSION=`"${CC}" -v 2>&1 | grep Version | sed -e 's|.* Version ||' | sed -e 's| *$||'`
|
||||
CC_VERSION=`"${CC}" -v 2>&1 | grep -i version | sed -e 's|.* [vV]ersion ||' | sed -e 's| *$||'`
|
||||
_CC_MAJOR_VERSION=`echo ${CC_VERSION} | awk -F\. '{ print $ 1 }'`
|
||||
|
||||
CXX_VERSION=`"${CXX}" -v 2>&1 | grep Version | sed -e 's|.* Version ||' | sed -e 's| *$||'`
|
||||
CXX_VERSION=`"${CXX}" -v 2>&1 | grep -i version | sed -e 's|.* [vV]ersion ||' | sed -e 's| *$||'`
|
||||
_CXX_MAJOR_VERSION=`echo ${CXX_VERSION} | awk -F\. '{ print $ 1 }'`
|
||||
|
||||
if test "$_CC_MAJOR_VERSION" != "$_CXX_MAJOR_VERSION"; then
|
||||
|
|
|
@ -327,10 +327,10 @@ case "$target" in
|
|||
AC_LANG_RESTORE
|
||||
|
||||
# Determine compiler version
|
||||
CC_VERSION=`"${CC}" -v 2>&1 | grep Version | sed -e 's|.* Version ||' | sed -e 's|[ ]*$||'`
|
||||
CC_VERSION=`"${CC}" -v 2>&1 | grep -i version | sed -e 's|.* [vV]ersion ||' | sed -e 's|[ ]*$||'`
|
||||
_CC_MAJOR_VERSION=`echo ${CC_VERSION} | awk -F\. '{ print $ 1 }'`
|
||||
|
||||
CXX_VERSION=`"${CXX}" -v 2>&1 | grep Version | sed -e 's|.* Version ||' | sed -e 's|[ ]*$||'`
|
||||
CXX_VERSION=`"${CXX}" -v 2>&1 | grep -i version | sed -e 's|.* [vV]ersion ||' | sed -e 's|[ ]*$||'`
|
||||
_CXX_MAJOR_VERSION=`echo ${CXX_VERSION} | awk -F\. '{ print $ 1 }'`
|
||||
|
||||
if test "$_CC_MAJOR_VERSION" != "$_CXX_MAJOR_VERSION"; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче