From: Peter Maydell Date: Wed, 20 Jul 2022 15:26:31 +0000 (+0100) Subject: configure: Avoid '==' bashism X-Git-Tag: v7.1.0-rc0~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc;p=thirdparty%2Fqemu.git configure: Avoid '==' bashism The '==' operator to test is a bashism; the standard way to copmare strings is '='. This causes dash to complain: ../../configure: 681: test: linux: unexpected operator Signed-off-by: Peter Maydell Reviewed-by: Thomas Huth Message-id: 20220720152631.450903-6-peter.maydell@linaro.org --- diff --git a/configure b/configure index d0e9a51462e..2c19329d58c 100755 --- a/configure +++ b/configure @@ -678,7 +678,7 @@ werror="" meson_option_build_array() { printf '[' - (if test "$targetos" == windows; then + (if test "$targetos" = windows; then IFS=\; else IFS=: