diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-07-03 17:55:01 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-07-03 17:55:01 +0000 |
commit | 1f1997eb621d864d146e88305237d2108866fe06 (patch) | |
tree | 48c2cc737918da4de4dd85b78af078840f6f28c7 | |
parent | 8be88f3e732e7a40f2e501c5e5b78c7f1b999f2d (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
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: $!"; |