Commit c2b84fabafd65765ee022da74f3e8ddc8f29a768
1 parent
e9420c4f
Improve configure for Solaris, by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2416 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
9 additions
and
13 deletions
configure
| ... | ... | @@ -133,8 +133,15 @@ coreaudio="yes" |
| 133 | 133 | OS_CFLAGS="-mdynamic-no-pic" |
| 134 | 134 | ;; |
| 135 | 135 | SunOS) |
| 136 | -solaris="yes" | |
| 137 | -;; | |
| 136 | + solaris="yes" | |
| 137 | + make="gmake" | |
| 138 | + install="ginstall" | |
| 139 | + solarisrev=`uname -r | cut -f2 -d.` | |
| 140 | + if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then | |
| 141 | + if test "$solarisrev" -ge 10 ; then | |
| 142 | + kqemu="yes" | |
| 143 | + fi | |
| 144 | + ;; | |
| 138 | 145 | *) |
| 139 | 146 | oss="yes" |
| 140 | 147 | linux="yes" |
| ... | ... | @@ -151,17 +158,6 @@ if [ "$bsd" = "yes" ] ; then |
| 151 | 158 | fi |
| 152 | 159 | fi |
| 153 | 160 | |
| 154 | -if [ "$solaris" = "yes" ] ; then | |
| 155 | - make="gmake" | |
| 156 | - install="ginstall" | |
| 157 | - solarisrev=`uname -r | cut -f2 -d.` | |
| 158 | - if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then | |
| 159 | - if test "$solarisrev" -gt 10 ; then | |
| 160 | - kqemu="yes" | |
| 161 | - fi | |
| 162 | - fi | |
| 163 | -fi | |
| 164 | - | |
| 165 | 161 | # find source path |
| 166 | 162 | source_path=`dirname "$0"` |
| 167 | 163 | if [ -z "$source_path" ]; then | ... | ... |