From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFqzl-0002uI-W5 for qemu-devel@nongnu.org; Sat, 10 Feb 2007 07:06:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFqzk-0002sp-HC for qemu-devel@nongnu.org; Sat, 10 Feb 2007 07:06:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFqzk-0002sW-7P for qemu-devel@nongnu.org; Sat, 10 Feb 2007 07:06:20 -0500 Received: from eastrmmtao04.cox.net ([68.230.240.35]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HFqzj-0005Kj-Nw for qemu-devel@nongnu.org; Sat, 10 Feb 2007 07:06:19 -0500 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao04.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20070210120619.JCAF27968.eastrmmtao04.cox.net@eastrmimpo02.cox.net> for ; Sat, 10 Feb 2007 07:06:19 -0500 Message-ID: <21447030.1171109179368.JavaMail.root@eastrmwml08.mgt.cox.net> Date: Sat, 10 Feb 2007 7:06:19 -0500 From: Ben Taylor MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_11574_3586910.1171109179339" Subject: [Qemu-devel] Patch: configure for Solaris Reply-To: sol10x86@cox.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu-devel@nongnu.org ------=_Part_11574_3586910.1171109179339 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit This patch consolodates Solaris configuration (it had been in two places) , as well as adds support for Solaris 10 for the kqemu module. ------=_Part_11574_3586910.1171109179339 Content-Type: text/x-patch; name=qemu-solaris-configure.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=qemu-solaris-configure.patch 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 ------=_Part_11574_3586910.1171109179339--