From 26109f0de89efba80dc49bcbf216a453cd40320c Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 7 Feb 2006 00:51:57 +0000 Subject: 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 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') 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; -- cgit v1.2.3