From: Lee <ler762@users.sourceforge.net>
Date: Tue, 23 Oct 2018 06:09:28 +0000 (-0400)
Subject: add a comment about the cygwin -mwindows build flag
X-Git-Tag: v_3_0_27~37
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/@default-cgi@/static/documentation.html?a=commitdiff_plain;h=dc046c1b629250c059a991cc6ce2785e7ba3d0ec;p=privoxy.git

add a comment about the cygwin -mwindows build flag
---

diff --git a/configure.in b/configure.in
index 7cd73b2f..e8464320 100644
--- a/configure.in
+++ b/configure.in
@@ -306,6 +306,9 @@ if test $target_type = mingw; then
   WIN_ONLY=
   CFLAGS="$CFLAGS -DWINVER=0x501"
   SPECIAL_CFLAGS="-mwindows"
+dnl from the cygwin FAQ: The regular setup allows you to use the -mwindows option
+dnl to include a set of the basic libraries user32, gdi32 and comdlg32.
+dnl (and also make your program a GUI program instead of a console program)
   PTHREAD_LIB=-lpthread
   echo "Using mingw32 (Win32 GUI)"
 else