qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6144] Add Sparc define checks


From: Blue Swirl
Subject: [Qemu-devel] [6144] Add Sparc define checks
Date: Wed, 31 Dec 2008 16:55:26 +0000

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]