mirror of https://github.com/xemu-project/xemu.git
Use Cocoa and CoreAudio backend by default on Darwin systems, by Pierre
d'Herbemont. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2368 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
46ea33974d
commit
fd6776422b
|
@ -128,6 +128,8 @@ Darwin)
|
||||||
bsd="yes"
|
bsd="yes"
|
||||||
darwin="yes"
|
darwin="yes"
|
||||||
darwin_user="yes"
|
darwin_user="yes"
|
||||||
|
cocoa="yes"
|
||||||
|
coreaudio="yes"
|
||||||
OS_CFLAGS="-mdynamic-no-pic"
|
OS_CFLAGS="-mdynamic-no-pic"
|
||||||
;;
|
;;
|
||||||
SunOS)
|
SunOS)
|
||||||
|
@ -503,7 +505,9 @@ _sdlversion=`$sdl_config --version | sed 's/[^0-9]//g'`
|
||||||
if test "$_sdlversion" -lt 121 ; then
|
if test "$_sdlversion" -lt 121 ; then
|
||||||
sdl_too_old=yes
|
sdl_too_old=yes
|
||||||
else
|
else
|
||||||
sdl=yes
|
if test "$cocoa" = "no" ; then
|
||||||
|
sdl=yes
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# static link with sdl ?
|
# static link with sdl ?
|
||||||
|
@ -524,6 +528,13 @@ fi # static link
|
||||||
fi # sdl compile test
|
fi # sdl compile test
|
||||||
|
|
||||||
fi # cross compilation
|
fi # cross compilation
|
||||||
|
|
||||||
|
else
|
||||||
|
# Make sure to disable cocoa if sdl was set
|
||||||
|
if test "$sdl" = "yes" ; then
|
||||||
|
cocoa="no"
|
||||||
|
coreaudio="no"
|
||||||
|
fi
|
||||||
fi # -z $sdl
|
fi # -z $sdl
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
|
Loading…
Reference in New Issue