summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-04 00:03:44 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-04 00:03:44 +0000
commit72d33e500e15fd5caaa9489570cd76b5a292b3e7 (patch)
treee5981fd122d8ca2e33616445847f40e2f2c6bfb6 /configure
parent90ea385688339d21861166d7de840fc0494edcdb (diff)
Fix non-interactive configure asking SSL certificate generation question, patch from satmd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11481 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c0fb3a410..22b665620 100755
--- a/configure
+++ b/configure
@@ -871,7 +871,7 @@ if (($config{USE_OPENSSL} eq "y") && ($config{HAS_OPENSSL} ne "y"))
our $failed = 0;
$config{CERTGEN} ||= 'y';
-yesno('CERTGEN',"Would you like generate SSL certificates now?") if $config{USE_GNUTLS} eq "y" || $config{USE_OPENSSL} eq "y";
+yesno('CERTGEN',"Would you like generate SSL certificates now?") if ($interactive && ($config{USE_GNUTLS} eq "y" || $config{USE_OPENSSL} eq "y"));
if ($config{USE_GNUTLS} eq "y") {
unless (-r "src/modules/m_ssl_gnutls.cpp") {