aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-10 23:21:21 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-10 23:21:21 +0000
commitc2b84fabafd65765ee022da74f3e8ddc8f29a768 (patch)
treee50a2ecedb90c306b1605cfae2008f41350bf998 /configure
parente9420c4f6e77f692398c895068347bbfaf81ef3b (diff)
Improve configure for Solaris, by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2416 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 9 insertions, 13 deletions
diff --git a/configure b/configure
index bcff13e977..625541e149 100755
--- a/configure
+++ b/configure
@@ -133,8 +133,15 @@ coreaudio="yes"
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 @@ if [ "$bsd" = "yes" ] ; then
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