]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/configure.cpp
Implement /who 1d t (search for who matches for users connected for a given time)
[user/henk/code/inspircd.git] / win / configure.cpp
index fc6603700902b6a1f8069fa96f58aaa7a60e6077..1bc6aba138c6eabd39c24eacaa8dac5fecfb673c 100644 (file)
@@ -13,6 +13,7 @@
 
 #define _CRT_SECURE_NO_DEPRECATE
 
+#define CONFIGURE_BUILD
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #include <stdio.h>
@@ -252,14 +253,6 @@ void Run()
        get_string_option("In what directory is the IRCd binary to be placed?", ".", bin_dir);
        get_string_option("In what directory are the IRCd libraries to be placed?", "../lib", library_dir);
 
-       printf_c("The following questions will ask you for various figures relating\n"
-               "To your IRCd install. Please note that these should usually be left\n"
-               "as defaults unless you have a real reason to change them. If they\n"
-               "changed, then the values must be identical on all servers on your\n"
-               "network, or malfunctions and/or crashes may occur, with the exception\n"
-               "of the 'maximum number of clients' setting which may be different on\n"
-               "different servers on the network.\n\n");
-
        // NOTE: this may seem hackish (generating a batch build script), but it assures the user knows
        // what they're doing, and we don't have to mess with copying files and changing around modules.mak
        // for the extra libraries. --fez
@@ -356,8 +349,9 @@ void Run()
 #endif
        fprintf(f, "#define MAXBUF 514\n");
 
-       fprintf(f, "\n#include \"inspircd_win32wrapper.h\"\n\n");
-       fprintf(f, "#include \"threadengines/threadengine_win32.h\"\n\n");
+       fprintf(f, "\n#include \"inspircd_win32wrapper.h\"");
+       fprintf(f, "\n#include \"inspircd_namedpipe.h\"");
+       fprintf(f, "\n#include \"threadengines/threadengine_win32.h\"\n\n");
        fprintf(f, "#endif\n\n");
        fclose(f);