summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPavel Borzenkov <pavel.borzenkov@gmail.com>2011-11-10 22:40:07 +0400
committerAndreas Färber <andreas.faerber@web.de>2012-05-01 00:17:27 +0200
commit148210301e334694badcc8ae72ecb522c6d7bac6 (patch)
tree27459091de4330663f21e824be93d5dedde383fa
parent83affaa622a938e0a12a1f7079f00c7a3333d72a (diff)
downloadfocaccia-qemu-148210301e334694badcc8ae72ecb522c6d7bac6.tar.gz
focaccia-qemu-148210301e334694badcc8ae72ecb522c6d7bac6.zip
configure: add '--disable-cocoa' switch
When SDL support is disabled, there is no way to build QEMU without
Cocoa support on MacOS X. This patch adds '--disable-cocoa' switch and
allows to build QEMU without both SDL and Cocoa frontends.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
[AF: Adapt help output]
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 25697bb590..0cf3bbb124 100755
--- a/configure
+++ b/configure
@@ -714,6 +714,8 @@ for opt do
   ;;
   --enable-profiler) profiler="yes"
   ;;
+  --disable-cocoa) cocoa="no"
+  ;;
   --enable-cocoa)
       cocoa="yes" ;
       sdl="no" ;
@@ -1027,7 +1029,8 @@ echo "  --disable-virtfs         disable VirtFS"
 echo "  --enable-virtfs          enable VirtFS"
 echo "  --disable-vnc            disable VNC"
 echo "  --enable-vnc             enable VNC"
-echo "  --enable-cocoa           enable COCOA (Mac OS X only)"
+echo "  --disable-cocoa          disable Cocoa (Mac OS X only)"
+echo "  --enable-cocoa           enable Cocoa (default on Mac OS X)"
 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]"