From 9ddd6b9f00efbd73dc07f5543b4e2faf5bddf57a Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 24 Dec 2015 00:00:28 +0100 Subject: CONFIGURE: Make RE more portable Thanks criezy. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 16823f54e0..34ffa2fb6a 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3