summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfez <fez@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-01 02:17:40 +0000
committerfez <fez@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-01 02:17:40 +0000
commita7f13680d2597d2012d13e1ae706af5af586e0da (patch)
tree0e567b5512895c7004105ec9ce6a67ae9797063d
parent1c46a7030984ba9a50416ebec73607e8d849b367 (diff)
remove m_ssl_openssl from modules directory when rerunning configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8775 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--win/configure.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/win/configure.cpp b/win/configure.cpp
index f158a4a23..3f63841ec 100644
--- a/win/configure.cpp
+++ b/win/configure.cpp
@@ -281,7 +281,8 @@ void Run()
// 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
-
+ // in case it exists, remove old m_ssl_openssl.cpp
+ remove("..\\src\\modules\\m_ssl_openssl.cpp");
printf_c("You can compile InspIRCd modules that add OpenSSL or GnuTLS support for SSL functionality.\n"
"To do so you will need the appropriate link libraries and header files on your system.\n");
use_openssl = get_bool_option("Would you like to compile the IRCd with OpenSSL support?", false);
@@ -317,7 +318,9 @@ void Run()
fclose(fp);
printf_c("\033[1;32m!!!NOTICE!!! The file 'compile_openssl.bat' has been written to your 'win' directory. Launch it\n"
- "!!! from the Visual Studio Command Prompt !!! to compile the m_ssl_openssl module.\033[0m\n");
+ "!!! from the Visual Studio Command Prompt !!! to compile the m_ssl_openssl module.\n"
+ "Wait until after compiling inspircd to run it.\n"
+ "Also, ssleay32.dll and libeay32.dll will be required for the IRCd to run.\033[0m\n");
}
printf_c("\n\033[1;32mPre-build configuration is complete!\n\n"); sc(TNORMAL);