CONFIGURE: Make RE more portable

Thanks criezy.
This commit is contained in:
Willem Jan Palenstijn 2015-12-24 00:00:28 +01:00
parent 7c33862a09
commit 9ddd6b9f00

2
configure vendored
View File

@ -1728,7 +1728,7 @@ if test "$have_gcc" = yes; then
# For the version reported in the configure log (cxx_version),
# we get the actual clang version.
cxx_version=`gcc_get_define __clang_version__`
cxx_version="`echo "${cxx_version}" | sed -e 's/"\([^ ]\+\) .*/\1/'`"
cxx_version="`echo "${cxx_version}" | sed -e 's/"\([^ ]*\) .*/\1/'`"
cxx_version="clang $cxx_version, ok"
elif test "$_cxx_major" -eq 2 && test "$_cxx_minor" -ge 95 || \
test "$_cxx_major" -gt 2 ; then