summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-11 20:34:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-11 20:34:47 +0000
commit895c3dcdf043b8f36219b228c36612282be602b0 (patch)
treefc76f3e93be3e279e1d2a57001a1e3605641b0be /win
parent71b9ae263d434609b96dfe2eaf7a4945c87587fb (diff)
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
Diffstat (limited to 'win')
-rw-r--r--win/configure.cpp8
1 files changed, 8 insertions, 0 deletions
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)