From 85d2c8e80f418c456c28213a08f692e33833b8c4 Mon Sep 17 00:00:00 2001 From: Kurt Fitzner Date: Sun, 29 Jan 2023 15:53:53 +0100 Subject: Configure - fix handling of quoted gcc output This patch was submitted in GH issue #20606. When gcc output contains quoted elements we fail to handle it properly. This tweaks the sed command to do so. Fixes #20606. --- Configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Configure') diff --git a/Configure b/Configure index 8865804828..f9ca862853 100755 --- a/Configure +++ b/Configure @@ -23778,7 +23778,7 @@ EOF for i in \`$cc -v -c tmp.c 2>&1 $postprocess_cc_v\` do case "\$i" in - -D*) echo "\$i" | $sed 's/^-D//';; + -D*) echo "\$i" | $sed 's/^-D//;s/['\''\"]//g';; -A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A//' | $sed 's/\(.*\)(\(.*\))/\1=\2/';; esac done -- cgit v1.2.1