From 5d91b2bbaf745e651429e3f2f0c09941dbea945c Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Feb 2006 15:29:14 +0000 Subject: Different way of making symlinks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3148 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure') 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; -- cgit v1.2.3