summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a6faff12c..d40f9ab07 100755
--- a/configure
+++ b/configure
@@ -1999,7 +1999,7 @@ fi
# Check C++ standard support
# Note: the commands work for both g++ and clang
# -----------------------------------------------------------------------------
-COMPILER=`sed -n '/^\s*QMAKE_CXX\s*=\s*/{s///;s/\s*$//;p;q}' $QMAKESPEC/qmake.conf`
+COMPILER=`sed -n '/^[[:space:]]*QMAKE_CXX[[:space:]]*=[[:space:]]*/ { s,,,; s,[[:space:]]*$,,; p; q; }' $QMAKESPEC/qmake.conf`
CXX_REQ_STD=17
CXX_REQ_STD_MACRO=201703L
CXX_STD_FLAG=""