From c7a23a1e570b12c633b0e47c661935c36c038711 Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Mon, 29 Dec 2025 23:07:14 +0300
Subject: configure: use POSIX-compliant syntax for sed

The sed invocation previously introduced in 854c5d5c9 was using `\s` for
space matching which is GNU extensions. This commit replaces it with
POSIX-compliant character class `[[:space:]]`.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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=""
-- 
cgit v1.2.3

