From 895c3dcdf043b8f36219b228c36612282be602b0 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 11 Jun 2007 20:34:47 +0000 Subject: Put the check back so we dont keep doing builds from scratch every time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7269 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/configure.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/win/configure.cpp b/win/configure.cpp index ba9f91178..569ef70f9 100644 --- a/win/configure.cpp +++ b/win/configure.cpp @@ -194,6 +194,14 @@ void Run() int revision = get_svn_revision(revision_text, MAX_PATH); char version[514]; + + FILE * j = fopen("inspircd_config.h", "r"); + if (j) + { + fclose(j); + exit(0); + } + // grab version FILE * fI = fopen("..\\src\\version.sh", "r"); if(fI) -- cgit v1.2.3