summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-07 00:51:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-07 00:51:57 +0000
commit26109f0de89efba80dc49bcbf216a453cd40320c (patch)
tree49966d6be8206bb8c1bbb4ad686e8e694ee69055
parentc85ed7cd152bb45fc630799514b5c9042fb9171e (diff)
Modified ./configure to symlink ssl modules instead of cp'ing them, this makes updating easier in the future
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3118 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index ef24c0dde..e1e8156b8 100755
--- a/configure
+++ b/configure
@@ -603,7 +603,7 @@ print "\033[0mGnuTLS Support:\033[1;32m\t\t\t$config{USE_GNUTLS}\033[0m\n";
print "\033[0mOpenSSL Support:\033[1;32m\t\t$config{USE_OPENSSL}\033[0m\n\n";
if ($config{USE_GNUTLS} eq "y") {
- system("cp src/modules/extra/m_ssl_gnutls.cpp src/modules/m_ssl_gnutls.cpp");
+ system("ln -s src/modules/extra/m_ssl_gnutls.cpp src/modules/m_ssl_gnutls.cpp");
getmodules();
$failed = 0;
open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1;
@@ -629,7 +629,7 @@ if ($config{USE_GNUTLS} eq "y") {
print "SSL Certificates found, skipping.\n\n"
}
} elsif ($config{USE_OPENSSL} eq "y") {
- system("cp src/modules/extra/m_ssl_openssl.cpp src/modules/m_ssl_openssl.cpp");
+ system("ln -s src/modules/extra/m_ssl_openssl.cpp src/modules/m_ssl_openssl.cpp");
getmodules();
$failed = 0;
open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1;