From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROZY4-0004dP-EV for qemu-devel@nongnu.org; Thu, 10 Nov 2011 13:40:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROZY3-0007M4-B0 for qemu-devel@nongnu.org; Thu, 10 Nov 2011 13:40:28 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:47584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROZY3-0007KN-0g for qemu-devel@nongnu.org; Thu, 10 Nov 2011 13:40:27 -0500 Received: by mail-bw0-f45.google.com with SMTP id zu5so2995701bkb.4 for ; Thu, 10 Nov 2011 10:40:26 -0800 (PST) From: Pavel Borzenkov Date: Thu, 10 Nov 2011 22:40:07 +0400 Message-Id: <1320950407-43512-4-git-send-email-pavel.borzenkov@gmail.com> In-Reply-To: <1320950407-43512-1-git-send-email-pavel.borzenkov@gmail.com> References: <1320950407-43512-1-git-send-email-pavel.borzenkov@gmail.com> Subject: [Qemu-devel] [PATCH 3/3] configure: add '--disable-cocoa' switch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: andreas.faerber@web.de 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 --- configure | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 401d9a6..4720bb2 100755 --- a/configure +++ b/configure @@ -670,6 +670,8 @@ for opt do ;; --enable-profiler) profiler="yes" ;; + --disable-cocoa) cocoa="no" + ;; --enable-cocoa) cocoa="yes" ; sdl="no" ; @@ -980,7 +982,10 @@ echo " --disable-sdl disable SDL" echo " --enable-sdl enable SDL" echo " --disable-vnc disable VNC" echo " --enable-vnc enable VNC" -echo " --enable-cocoa enable COCOA (Mac OS X only)" +if test "$darwin" = "yes" ; then + echo " --disable-cocoa disable COCOA" + echo " --enable-cocoa enable COCOA (default)" +fi 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]" -- 1.7.5.4