summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-01-08 17:10:42 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-01-08 17:39:59 +0000
commitd2d0852271ca2d0a4df4c31312289a816266a0aa (patch)
treefb8fa9be5ea6584b0f5156338ee14af97fdbd66b /tcg/optimize.c
parent4124ea4f5bd367ca6412fb2dfe7ac4d80e1504d9 (diff)
downloadfocaccia-qemu-d2d0852271ca2d0a4df4c31312289a816266a0aa.tar.gz
focaccia-qemu-d2d0852271ca2d0a4df4c31312289a816266a0aa.zip
configure: Fix incorrect string comparison operator
In commit c97d6d2cdf97ed we accidentally added code to configure
that uses '==' for string equality testing. This is a bashism --
the portable way to write this is '='.

This fixes the "Unexpected operator error" complaint produced
if the system /bin/sh is dash.

Fixes: c97d6d2cdf97ed
Reported-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1515431442-23795-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions