mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 767848 - Backout NSPR MSVC version detection change from bug 448573. r=ted
This commit is contained in:
parent
be79a0decf
commit
c7bf5b481a
@ -1877,7 +1877,7 @@ tools are selected during the Xcode/Developer Tools installation.])
|
||||
|
||||
# Determine compiler version
|
||||
changequote(,)
|
||||
_MSMT_VER_FILTER='s|.*[^!-~]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*|\1|p'
|
||||
_MSVC_VER_FILTER='s|.* \([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'
|
||||
changequote([,])
|
||||
CC_VERSION=`"${CC}" -v 2>&1 | sed -ne "$_MSVC_VER_FILTER"`
|
||||
_CC_MAJOR_VERSION=`echo ${CC_VERSION} | awk -F\. '{ print $1 }'`
|
||||
|
Loading…
Reference in New Issue
Block a user