* [Qemu-devel] [Patch] add configure --disable-cocoa
@ 2009-02-04 9:42 Tristan Gingold
2009-02-13 14:01 ` [Qemu-devel] Ping: " Tristan Gingold
2009-02-27 20:05 ` [Qemu-devel] " Anthony Liguori
0 siblings, 2 replies; 4+ messages in thread
From: Tristan Gingold @ 2009-02-04 9:42 UTC (permalink / raw)
To: qemu-devel
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.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Ping: [Patch] add configure --disable-cocoa
2009-02-04 9:42 [Qemu-devel] [Patch] add configure --disable-cocoa Tristan Gingold
@ 2009-02-13 14:01 ` Tristan Gingold
2009-02-27 20:05 ` [Qemu-devel] " Anthony Liguori
1 sibling, 0 replies; 4+ messages in thread
From: Tristan Gingold @ 2009-02-13 14:01 UTC (permalink / raw)
To: qemu-devel
Ping.
On Feb 4, 2009, at 10:42 AM, 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.
>
> 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
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [Patch] add configure --disable-cocoa
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
1 sibling, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2009-02-27 20:05 UTC (permalink / raw)
To: qemu-devel
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
>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [Patch] add configure --disable-cocoa
@ 2009-04-03 13:53 Tristan Gingold
0 siblings, 0 replies; 4+ messages in thread
From: Tristan Gingold @ 2009-04-03 13:53 UTC (permalink / raw)
To: aliguori; +Cc: qemu-devel
Anthony,
did you really apply it or did you send this message by error ?
http://lists.gnu.org/archive/html/qemu-devel/2009-02/msg01516.html
Tristan.
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-03 13:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] " Anthony Liguori
-- strict thread matches above, loose matches on Subject: below --
2009-04-03 13:53 Tristan Gingold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).