Detect clang 4.0 in the configure script.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3318 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2016-10-10 17:43:31 +00:00
parent 2832fbeccb
commit 431a148011
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -392,7 +392,7 @@ if test "$have_clang" = yes; then
fi fi
case $cxx_version in case $cxx_version in
[3].[4-9]|[3].[4-9].[0-9]|[3].[4-9].[0-9][-.]*) [3].[4-9]|[3].[4-9].[0-9]|[3].[4-9].[0-9][-.]*|[4].[0-9].[0-9])
_cxx_major=`echo $cxx_version | cut -d '.' -f 1` _cxx_major=`echo $cxx_version | cut -d '.' -f 1`
_cxx_minor=`echo $cxx_version | cut -d '.' -f 2` _cxx_minor=`echo $cxx_version | cut -d '.' -f 2`
cxx_version="$cxx_version, ok" cxx_version="$cxx_version, ok"