diff options
author | Peter Maydell | 2022-07-20 17:26:31 +0200 |
---|---|---|
committer | Peter Maydell | 2022-07-26 14:42:04 +0200 |
commit | c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc (patch) | |
tree | 5a0b6d73590046545fb9dd7d8a3648058d50b178 /configure | |
parent | configure: Drop dead code attempting to use -msmall-data on alpha hosts (diff) | |
download | qemu-c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc.tar.gz qemu-c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc.tar.xz qemu-c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc.zip |
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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -678,7 +678,7 @@ werror="" meson_option_build_array() { printf '[' - (if test "$targetos" == windows; then + (if test "$targetos" = windows; then IFS=\; else IFS=: |