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 <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20220720152631.450903-6-peter.maydell@linaro.org
This commit is contained in:
Peter Maydell 2022-07-20 16:26:31 +01:00
parent aca5001dab
commit c5cfdabaf5

2
configure vendored
View File

@ -678,7 +678,7 @@ werror=""
meson_option_build_array() {
printf '['
(if test "$targetos" == windows; then
(if test "$targetos" = windows; then
IFS=\;
else
IFS=: