From 1f1997eb621d864d146e88305237d2108866fe06 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 3 Jul 2009 17:55:01 +0000 Subject: 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 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: $!"; -- cgit v1.2.3