From b84f4c40fde2f0ca313b4660b88b308c54a0ad5a Mon Sep 17 00:00:00 2001 From: Erik Joelsson Date: Mon, 30 Jan 2023 20:18:59 +0000 Subject: [PATCH] 8301267: Update of config.guess broke build on WSL Reviewed-by: tbell, jvernee, djelinski --- make/autoconf/build-aux/config.guess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/autoconf/build-aux/config.guess b/make/autoconf/build-aux/config.guess index dbb441f9a2a..afdf7cb5f92 100644 --- a/make/autoconf/build-aux/config.guess +++ b/make/autoconf/build-aux/config.guess @@ -68,11 +68,11 @@ if test $? = 0; then fi # Test and fix wsl -echo $OUT | grep unknown-linux-gnu > /dev/null 2> /dev/null +echo $OUT | grep '\(unknown\|pc\)-linux-gnu' > /dev/null 2> /dev/null if test $? = 0; then uname -r | grep -i microsoft > /dev/null 2> /dev/null if test $? = 0; then - OUT=`echo $OUT | sed -e 's/unknown-linux-gnu/pc-wsl/'` + OUT=`echo $OUT | sed -e 's/\(unknown\|pc\)-linux-gnu/pc-wsl/'` fi fi