summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-07-03 17:55:01 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-07-03 17:55:01 +0000
commit1f1997eb621d864d146e88305237d2108866fe06 (patch)
tree48c2cc737918da4de4dd85b78af078840f6f28c7 /configure
parent8be88f3e732e7a40f2e501c5e5b78c7f1b999f2d (diff)
Fix symlink creation of openssl if both it and gnutls are selected
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11435 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 49cdd2045..df9e398ec 100755
--- a/configure
+++ b/configure
@@ -905,7 +905,9 @@ if ($config{USE_GNUTLS} eq "y") {
{
print "Skipping SSL certificate generation\nin non-interactive mode.\n\n";
}
-} elsif ($config{USE_OPENSSL} eq "y") {
+}
+
+if ($config{USE_OPENSSL} eq "y") {
unless (-r "src/modules/m_ssl_openssl.cpp") {
print "Symlinking src/modules/m_ssl_openssl.cpp from extra/\n";
symlink "extra/m_ssl_openssl.cpp", "src/modules/m_ssl_openssl.cpp" or print STDERR "Symlink failed: $!";