From: ths Date: Wed, 31 Jan 2007 12:10:07 +0000 (+0000) Subject: Use Cocoa and CoreAudio backend by default on Darwin systems, by Pierre X-Git-Tag: release_0_9_1~1527 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=89746982b95dd5067d163a7b165a676785575eda;p=qemu-xen-unstable.git Use Cocoa and CoreAudio backend by default on Darwin systems, by Pierre d'Herbemont. --- diff --git a/configure b/configure index eda1437fe8..bcff13e977 100755 --- a/configure +++ b/configure @@ -128,6 +128,8 @@ Darwin) bsd="yes" darwin="yes" darwin_user="yes" +cocoa="yes" +coreaudio="yes" OS_CFLAGS="-mdynamic-no-pic" ;; SunOS) @@ -503,7 +505,9 @@ _sdlversion=`$sdl_config --version | sed 's/[^0-9]//g'` if test "$_sdlversion" -lt 121 ; then sdl_too_old=yes else -sdl=yes + if test "$cocoa" = "no" ; then + sdl=yes + fi fi # static link with sdl ? @@ -524,6 +528,13 @@ fi # static link fi # sdl compile test 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 ##########################################