summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-11 15:29:14 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-11 15:29:14 +0000
commit5d91b2bbaf745e651429e3f2f0c09941dbea945c (patch)
tree6c63c93d6687f9aa09b8e73b94aeba25bad474c5
parent69df936719c464a697986b878e6682bc97977626 (diff)
Different way of making symlinks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3148 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index e87b04faf..4755e609c 100755
--- a/configure
+++ b/configure
@@ -618,7 +618,9 @@ 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("ln -s src/modules/extra/m_ssl_gnutls.cpp src/modules/m_ssl_gnutls.cpp");
+ system("cd src/modules");
+ system("ln -s extra/m_ssl_gnutls.cpp");
+ system("cd ../..");
getmodules();
$failed = 0;
open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1;
@@ -644,7 +646,9 @@ if ($config{USE_GNUTLS} eq "y") {
print "SSL Certificates found, skipping.\n\n"
}
} elsif ($config{USE_OPENSSL} eq "y") {
- system("ln -s src/modules/extra/m_ssl_openssl.cpp src/modules/m_ssl_openssl.cpp");
+ system("cd src/modules");
+ system("ln -s extra/m_ssl_openssl.cpp");
+ system("cd ../..");
getmodules();
$failed = 0;
open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1;