]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed Brain's bug, showing 'Using SSL Module' regardless of if you say yes or no.
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 3 Feb 2006 20:01:41 +0000 (20:01 +0000)
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 3 Feb 2006 20:01:41 +0000 (20:01 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3063 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index e41c39d6c392af95780d9a0662d64ef0eb411dd0..584944d2e64be86d072f9ffe6ec333aedf24ed2b 100755 (executable)
--- a/configure
+++ b/configure
@@ -323,10 +323,14 @@ if (($config{HAS_GNUTLS} eq "y") && ($config{HAS_OPENSSL} eq "y")) {
 
 if ($config{HAS_GNUTLS} eq "y") {
        yesno(USE_GNUTLS, "Would you like to enable SSL Support?");
-       print "\nUsing GnuTLS SSL module.\n";
+       if ($config{USE_GNUTLS} eq "y") {
+               print "\nUsing GnuTLS SSL module.\n";
+       }
 } elsif ($config{HAS_OPENSSL} eq "y") {
        yesno(USE_OPENSSL, "Would you like to enable SSL Support?");
-       print "\nUsing OpenSSL SSL module.\nYou will get better performance if you move to GnuTLS in the future.\n";
+       if ($config{USE_OPENSSL} eq "y") {
+               print "\nUsing OpenSSL SSL module.\nYou will get better performance if you move to GnuTLS in the future.\n";
+       }
 }
 
 print "\nThe following questions will ask you for various figures relating\n";