From a75995124d2aedf7f8a85407eb5c3c8532fc9ea0 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Date: Tue, 22 Sep 2015 16:36:03 +0200
Subject: [PATCH] fix configure bootstrap on mingw with spaces in the builddir

the missing quotes would cause us to misdetect mingw as msys.

Change-Id: I408c0e6bfc3cbfecd02c54904cf96ab79e0b6d88
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
---
 tools/configure/Makefile.mingw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/configure/Makefile.mingw b/tools/configure/Makefile.mingw
index 539664e7d6e..f4513c64d6e 100644
--- a/tools/configure/Makefile.mingw
+++ b/tools/configure/Makefile.mingw
@@ -89,7 +89,7 @@ $(OBJECTS): $(PCH)
 # sh-compatible shell. This is not a problem, because configure.bat
 # will not do that.
 ifeq ($(SHELL), sh.exe)
-    ifeq ($(wildcard $(CURDIR)/sh.exe), )
+    ifeq ($(wildcard "$(CURDIR)/sh.exe"), )
         SH = 0
     else
         SH = 1
-- 
GitLab