All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Patch] add configure --disable-cocoa
Date: Fri, 27 Feb 2009 14:05:44 -0600	[thread overview]
Message-ID: <49A84798.6020903@us.ibm.com> (raw)
In-Reply-To: <20090204094249.GA16436@ulanbator.act-europe.fr>

Tristan Gingold wrote:
> Hi,
>
> currently qemu cannot be compiled on darwin without cocoa. 
> However it is useful to compile qemu without graphic support if your emulated
> board doesn't have any graphic adapter.  This is possible on Linux using
> --disable-gfx-check but not on darwin.
>   

Applied.  Thanks.

Regards,

Anthony Liguori

> Tristan.
>
> Signed-off-by: Tristan Gingold <gingold@adacore.com>
>
> --- a/configure
> +++ b/configure
> @@ -256,9 +256,7 @@ else
>  fi
>  darwin_user="yes"
>  cocoa="yes"
> -audio_drv_list="coreaudio"
>  audio_possible_drivers="coreaudio sdl fmod"
> -OS_LDFLAGS="-framework CoreFoundation -framework IOKit"
>  ;;
>  SunOS)
>      solaris="yes"
> @@ -401,10 +399,9 @@ for opt do
>    ;;
>    --enable-profiler) profiler="yes"
>    ;;
> -  --enable-cocoa)
> -      cocoa="yes" ;
> -      sdl="no" ;
> -      audio_drv_list="coreaudio `echo $audio_drv_list | sed s,coreaudio,,g`"
> +  --enable-cocoa) cocoa="yes"
> +  ;;
> +  --disable-cocoa) cocoa="no"
>    ;;
>    --disable-gfx-check) check_gfx="no"
>    ;;
> @@ -537,6 +534,7 @@ echo "  --disable-sparse         disable sparse checker (default)"
>  echo "  --disable-werror         disable compilation abort on warning"
>  echo "  --disable-sdl            disable SDL"
>  echo "  --enable-cocoa           enable COCOA (Mac OS X only)"
> +echo "  --disable-cocoa          disable COCOA (default)"
>  echo "  --audio-drv-list=LIST    set audio drivers list:"
>  echo "                           Available drivers: $audio_possible_drivers"
>  echo "  --audio-card-list=LIST   set list of emulated audio cards [$audio_card_list]"
> @@ -806,6 +804,17 @@ else
>  fi # -z $sdl
>  
>  ##########################################
> +# MacOSX
> +if test "$cocoa" = "yes" ; then
> +    sdl="no"
> +    audio_drv_list="coreaudio `echo $audio_drv_list | sed s,coreaudio,,g`"
> +fi
> +if test "$cocoa" = "yes" || 
> +    echo "$audio_drv_list" | grep -q coreaudio ; then
> +    OS_LDFLAGS="-framework CoreFoundation -framework IOKit"
> +fi
> +
> +##########################################
>  # VNC TLS detection
>  if test "$vnc_tls" = "yes" ; then
>  cat > $TMPC <<EOF
>
>
>
>
>   

  parent reply	other threads:[~2009-02-27 20:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04  9:42 [Qemu-devel] [Patch] add configure --disable-cocoa Tristan Gingold
2009-02-13 14:01 ` [Qemu-devel] Ping: " Tristan Gingold
2009-02-27 20:05 ` Anthony Liguori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-03 13:53 [Qemu-devel] " Tristan Gingold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49A84798.6020903@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.