* [Qemu-devel] [6144] Add Sparc define checks
@ 2008-12-31 16:55 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-12-31 16:55 UTC (permalink / raw)
To: qemu-devel
Revision: 6144
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6144
Author: blueswir1
Date: 2008-12-31 16:55:26 +0000 (Wed, 31 Dec 2008)
Log Message:
-----------
Add Sparc define checks
Modified Paths:
--------------
trunk/configure
Modified: trunk/configure
===================================================================
--- trunk/configure 2008-12-30 19:01:44 UTC (rev 6143)
+++ trunk/configure 2008-12-31 16:55:26 UTC (rev 6144)
@@ -79,6 +79,14 @@
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-31 16:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-31 16:55 [Qemu-devel] [6144] Add Sparc define checks Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).