From fe0ff5d68965c1ff8be3d2a87b817c34a85fbcff Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Thu, 30 Aug 2012 12:37:01 +0200
Subject: [PATCH] bypass configure bootstrap for non-git builds

Change-Id: Ifa56297db0c5f198080a728f033393ab60eb1b74
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
---
 configure.bat | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.bat b/configure.bat
index b5ffb14731e..3517424e8af 100644
--- a/configure.bat
+++ b/configure.bat
@@ -42,6 +42,7 @@
 @echo off
 set QTSRC=%~dp0
 set QTDIR=%CD%
+if not exist %QTSRC%\.gitignore goto sconf
 if exist configure.exe goto conf
 echo Please wait while bootstrapping configure ...
 
@@ -116,4 +117,8 @@ cd ..\..
 
 :conf
 configure.exe -srcdir %QTSRC% %* %nosyncqt%
+goto exit
+
+:sconf
+%QTSRC%\configure.exe %*
 :exit
-- 
GitLab