From: Stefan Weil Date: Sat, 3 Dec 2011 21:32:21 +0000 (+0100) Subject: w32: QEMU applications with SDL are always GUI applications X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=946fc459969b78966798399d5dc8ec7e6f4a1c1c;p=qemu.git w32: QEMU applications with SDL are always GUI applications 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 Signed-off-by: Blue Swirl --- diff --git a/configure b/configure index ca2530c23c..2686657f0f 100755 --- a/configure +++ b/configure @@ -1523,9 +1523,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