diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-31 16:55:26 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-31 16:55:26 +0000 |
commit | ce8c33424c1d9a3f4eba8c98063579ffe822e2ec (patch) | |
tree | 27c3011b79b7613e8c61c8a4739c5fea4f9e0c81 /configure | |
parent | c427679f0dd0a86e45f271d336d324767b315bd3 (diff) | |
download | qemu-ce8c33424c1d9a3f4eba8c98063579ffe822e2ec.tar.gz qemu-ce8c33424c1d9a3f4eba8c98063579ffe822e2ec.tar.bz2 qemu-ce8c33424c1d9a3f4eba8c98063579ffe822e2ec.zip |
Add Sparc define checks
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6144 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -79,6 +79,14 @@ if check_define __i386__ ; then cpu="i386" elif check_define __x86_64__ ; then cpu="x86_64" +elif check_define __sparc__ ; then + # We can't check for 64 bit (when gcc is biarch) or V8PLUSA + # They must be specified using --sparc_cpu + if check_define __arch64__ ; then + cpu="sparc64" + else + cpu="sparc" + fi else cpu=`test $(uname -s) = AIX && uname -p || uname -m` fi |