mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
reindent Operating System selection configure
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
parent
ea8f20f8de
commit
0dbfc67558
1 changed files with 83 additions and 81 deletions
4
configure
vendored
4
configure
vendored
|
@ -220,6 +220,7 @@ elif check_define __sun__ ; then
|
||||||
else
|
else
|
||||||
targetos=`uname -s`
|
targetos=`uname -s`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $targetos in
|
case $targetos in
|
||||||
CYGWIN*)
|
CYGWIN*)
|
||||||
mingw32="yes"
|
mingw32="yes"
|
||||||
|
@ -269,7 +270,8 @@ oss_lib="-lossaudio"
|
||||||
Darwin)
|
Darwin)
|
||||||
bsd="yes"
|
bsd="yes"
|
||||||
darwin="yes"
|
darwin="yes"
|
||||||
# on Leopard most of the system is 32-bit, so we have to ask the kernel it if we can run 64-bit userspace code
|
# on Leopard most of the system is 32-bit, so we have to ask the kernel it if we can
|
||||||
|
# run 64-bit userspace code
|
||||||
if [ "$cpu" = "i386" ] ; then
|
if [ "$cpu" = "i386" ] ; then
|
||||||
is_x86_64=`sysctl -n hw.optional.x86_64`
|
is_x86_64=`sysctl -n hw.optional.x86_64`
|
||||||
[ "$is_x86_64" = "1" ] && cpu=x86_64
|
[ "$is_x86_64" = "1" ] && cpu=x86_64
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue