From ba0f8604adf6a9ef25c01ae181638754c49aa969 Mon Sep 17 00:00:00 2001
From: Lee <ler762@users.sourceforge.net>
Date: Wed, 9 Aug 2023 02:35:05 -0400
Subject: [PATCH] windows/MYconfigure: Have gcc diagnostics in color

It's nice having gcc warnings in color even if I run a script that does
  'make 2>&1 | tee  log.make'
---
 windows/MYconfigure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/windows/MYconfigure b/windows/MYconfigure
index b34c95f1..00658ed2 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -39,6 +39,11 @@ export LDFLAGS=""
 # start with initially empty flags
 
 
+CFLAGS="${CFLAGS} -fdiagnostics-color=always"
+# Have gcc diagnostics be in color even if stderr is not going to a terminal.
+# It's nice having warnings in color even if I run a script that does
+#   'make 2>&1 | tee log.make'
+
 CFLAGS="${CFLAGS} -fstack-protector-strong -D_FORTIFY_SOURCE=2"
 LDFLAGS="${LDFLAGS} -fstack-protector-strong"
 # -fstack-protector-strong:  enable stack checking.
-- 
2.49.0