qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Patch: configure for Solaris
@ 2007-02-10 12:06 Ben Taylor
  0 siblings, 0 replies; only message in thread
From: Ben Taylor @ 2007-02-10 12:06 UTC (permalink / raw)
  To: Qemu-devel

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]


This patch consolodates Solaris configuration (it had
been in two places) , as well as adds support for Solaris 10 
for the kqemu module.


[-- Attachment #2: qemu-solaris-configure.patch --]
[-- Type: text/x-patch, Size: 900 bytes --]

diff -ruN qemu-ORIG/configure qemu/configure
--- qemu-ORIG/configure	2007-01-31 07:10:07.000000000 -0500
+++ qemu/configure	2007-02-10 07:01:39.149388000 -0500
@@ -133,8 +133,15 @@
 OS_CFLAGS="-mdynamic-no-pic"
 ;;
 SunOS)
-solaris="yes"
-;;
+    solaris="yes"
+    make="gmake"
+    install="ginstall"
+    solarisrev=`uname -r | cut -f2 -d.`
+    if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
+        if test "$solarisrev" -ge 10 ; then
+            kqemu="yes"
+        fi
+    ;;
 *)
 oss="yes"
 linux="yes"
@@ -151,17 +158,6 @@
   fi
 fi
 
-if [ "$solaris" = "yes" ] ; then
-    make="gmake"
-    install="ginstall"
-    solarisrev=`uname -r | cut -f2 -d.`
-    if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
-        if test "$solarisrev" -gt 10 ; then
-            kqemu="yes"
-        fi
-    fi
-fi
-
 # find source path
 source_path=`dirname "$0"`
 if [ -z "$source_path" ]; then

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-10 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-10 12:06 [Qemu-devel] Patch: configure for Solaris Ben Taylor

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).