From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWxCm-0008I1-Bd for qemu-devel@nongnu.org; Sat, 03 Dec 2011 16:33:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWxCh-0007aJ-Py for qemu-devel@nongnu.org; Sat, 03 Dec 2011 16:33:08 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:34341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWxCh-0007aD-L4 for qemu-devel@nongnu.org; Sat, 03 Dec 2011 16:33:03 -0500 From: Stefan Weil Date: Sat, 3 Dec 2011 22:32:21 +0100 Message-Id: <1322947941-8521-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] w32: QEMU applications with SDL are always GUI applications List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil Since commit 1d14ffa97eacd3cb722271eaf6f093038396eac4 (in 2005), QEMU applications on W32 don't use the default SDL compiler flags: Instead of a GUI application, a console application is created. This has disadvantages (there is always an empty console window) and no obvious reason, so this patch removes the strange flag modification. The SDL GUI applications still can be run from a console window and even send stdout and stderr to that console by setting environment variable SDL_STDIO_REDIRECT=no. Signed-off-by: Stefan Weil --- configure | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/configure b/configure index ac4840d..f2fdb1d 100755 --- a/configure +++ b/configure @@ -1522,9 +1522,6 @@ EOF if compile_prog "$sdl_cflags" "$sdl_libs" ; then sdl_libs="$sdl_libs -lX11" fi - if test "$mingw32" = "yes" ; then - sdl_libs="`echo $sdl_libs | sed s/-mwindows//g` -mconsole" - fi libs_softmmu="$sdl_libs $libs_softmmu" fi -- 1.7.2.5