aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-07-20 16:26:31 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-07-26 13:42:04 +0100
commitc5cfdabaf5ba0963292d3f0e318170ae9fab3fcc (patch)
tree5a0b6d73590046545fb9dd7d8a3648058d50b178 /configure
parentaca5001dab50e8279826650e57abedd4f0d9765f (diff)
downloadqemu-c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc.zip
qemu-c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc.tar.gz
qemu-c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc.tar.bz2
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d0e9a51..2c19329 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=: