]> git.ipfire.org Git - thirdparty/qemu.git/commit - configure
configure: Don't override user's --cpu on MacOS and Solaris
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Aug 2012 14:35:34 +0000 (15:35 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Aug 2012 18:41:15 +0000 (13:41 -0500)
commitbbea4050802a2e7e0296a21823c0925782c02b93
treec978cbee08efc1e4276dd0872751a58e891411ba
parent7109edfeb69c1d3c2164175837784dfcd210fed0
configure: Don't override user's --cpu on MacOS and Solaris

Both MacOS and Solaris have special case handling for the CPU
type, because the check_define probes will return i386 even if
the hardware is 64 bit and x86_64 would be preferable. Move
these checks earlier in the configure probing so that we can
do them only if the user didn't specify a CPU with --cpu. This
fixes a bug where the user's command line argument was being
ignored.

Reviewed-by: Andreas F=E4rber <afaerber@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure