]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Update this to always run even if we have an inspircd_config.h, having to manually...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 22 May 2007 17:37:29 +0000 (17:37 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 22 May 2007 17:37:29 +0000 (17:37 +0000)
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

index 890872fddc88c3f69ea1a28049ac06693a51789e..8d0643e38811aba25fee7cb1260be59e133c10be 100644 (file)
@@ -128,14 +128,6 @@ bad_rev:
 \r
 int __stdcall WinMain(IN HINSTANCE hInstance, IN HINSTANCE hPrevInstance, IN LPSTR lpCmdLine, IN int nShowCmd )\r
 {\r
-       // Skip if configure is already-existant.\r
-       FILE * f = fopen("inspircd_config.h", "r");\r
-       if(f)\r
-       {\r
-               fclose(f);\r
-               return 0;\r
-       }\r
-\r
        AllocConsole();\r
 \r
        // pipe standard handles to this console\r
@@ -368,11 +360,7 @@ void WriteCompileCommands()
     \r
        // Write our spiffy new makefile :D\r
        // I am such a lazy fucker :P\r
-#ifdef _DEBUG\r
        FILE * f = fopen("..\\src\\commands.mak", "w");\r
-#else\r
-       FILE * f = fopen("..\\src\\commands-release.mak", "w");\r
-#endif\r
 \r
        time_t t = time(NULL);\r
        fprintf(f, "# Generated at %s\n", ctime(&t));\r
@@ -424,11 +412,7 @@ void WriteCompileModules()
 \r
        // Write our spiffy new makefile :D\r
        // I am such a lazy fucker :P\r
-#ifdef _DEBUG\r
        FILE * f = fopen("..\\src\\modules\\modules.mak", "w");\r
-#else\r
-       FILE * f = fopen("..\\src\\modules\\modules-release.mak", "w");\r
-#endif\r
 \r
        time_t t = time(NULL);\r
        fprintf(f, "# Generated at %s\n", ctime(&t));\r