From: "Andreas Färber" <andreas.faerber@web.de>
To: Andrzej Zaborowski <balrogg@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] configure: don't check for Cocoa when detecting SDL.
Date: Wed, 07 Dec 2011 22:26:36 +0100 [thread overview]
Message-ID: <4EDFDA0C.1020507@web.de> (raw)
In-Reply-To: <1323244048-6021-2-git-send-email-balrogg@gmail.com>
Am 07.12.2011 08:47, schrieb Andrzej Zaborowski:
> The SDL check is supposed to set $sdl to "yes" or "no", but with that
> check it leaves $sdl unset on darwin, unless --enable-cocoa was
> specified (which is not needed to enable cocoa anyway).
>
> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
> ---
> configure | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/configure b/configure
> index 678b982..fb15bc6 100755
> --- a/configure
> +++ b/configure
> @@ -1492,9 +1492,7 @@ EOF
> if test "$_sdlversion" -lt 121 ; then
> sdl_too_old=yes
> else
> - if test "$cocoa" = "no" ; then
> - sdl=yes
> - fi
> + sdl=yes
With no further explanation in the commit description I have doubts if
this is really "safe". Cocoa actually masquerades as SDL in vl.c and has
no display type of its own, so there may well be a real need to suppress
SDL in the --enable-cocoa case. The #ifdef'fery may need to be sanitized
first, at least fully reviewed.
Also please cc me on Cocoa patches.
Thanks,
Andreas
> fi
>
> # static link with sdl ? (note: sdl.pc's --static --libs is broken)
next prev parent reply other threads:[~2011-12-07 21:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-07 7:47 [Qemu-devel] [PATCH] configure: don't try to compile against known broken curses Andrzej Zaborowski
2011-12-07 7:47 ` [Qemu-devel] [PATCH 1/2] configure: don't check for Cocoa when detecting SDL Andrzej Zaborowski
2011-12-07 21:26 ` Andreas Färber [this message]
2011-12-07 7:47 ` [Qemu-devel] [PATCH 2/2] configure: remove --enable-cocoa (default), add --disable-cocoa Andrzej Zaborowski
2011-12-07 18:56 ` Peter Maydell
2011-12-08 0:49 ` andrzej zaborowski
2011-12-07 21:12 ` Andreas Färber
2011-12-07 21:21 ` Peter Maydell
2011-12-08 23:35 ` Andreas Färber
2011-12-09 1:25 ` andrzej zaborowski
2011-12-09 1:41 ` andrzej zaborowski
2011-12-07 18:57 ` [Qemu-devel] [PATCH] configure: don't try to compile against known broken curses Stefan Weil
2011-12-07 19:06 ` andrzej zaborowski
2011-12-07 19:51 ` Stefan Weil
2011-12-14 21:58 ` andrzej zaborowski
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=4EDFDA0C.1020507@web.de \
--to=andreas.faerber@web.de \
--cc=balrogg@gmail.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.