From 6f95fb3897e613bb2edcdfca745e20ed20e6854a Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 22 May 2007 17:37:29 +0000 Subject: [PATCH] Update this to always run even if we have an inspircd_config.h, having to manually fart around deleting files to make clean is a pain in the ass. Also why does it seem to be making a seperate named file for release builds and never actually calling it during a release build, leading to debug modules being loaded into a non-debug insp :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7107 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/configure.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/win/configure.cpp b/win/configure.cpp index 890872fdd..8d0643e38 100644 --- a/win/configure.cpp +++ b/win/configure.cpp @@ -128,14 +128,6 @@ bad_rev: int __stdcall WinMain(IN HINSTANCE hInstance, IN HINSTANCE hPrevInstance, IN LPSTR lpCmdLine, IN int nShowCmd ) { - // Skip if configure is already-existant. - FILE * f = fopen("inspircd_config.h", "r"); - if(f) - { - fclose(f); - return 0; - } - AllocConsole(); // pipe standard handles to this console @@ -368,11 +360,7 @@ void WriteCompileCommands() // Write our spiffy new makefile :D // I am such a lazy fucker :P -#ifdef _DEBUG FILE * f = fopen("..\\src\\commands.mak", "w"); -#else - FILE * f = fopen("..\\src\\commands-release.mak", "w"); -#endif time_t t = time(NULL); fprintf(f, "# Generated at %s\n", ctime(&t)); @@ -424,11 +412,7 @@ void WriteCompileModules() // Write our spiffy new makefile :D // I am such a lazy fucker :P -#ifdef _DEBUG FILE * f = fopen("..\\src\\modules\\modules.mak", "w"); -#else - FILE * f = fopen("..\\src\\modules\\modules-release.mak", "w"); -#endif time_t t = time(NULL); fprintf(f, "# Generated at %s\n", ctime(&t)); -- 2.39.5