summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-30 23:21:23 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-30 23:21:23 +0000
commit9e110fbd1db97d382efb1c2e2448fcd874e7e47b (patch)
treedefecbef2bbac58def1ad63d44c465d6edd2b9d3 /configure
parent95004d89785ab466ef793d0b3a3af705b26444f3 (diff)
Ask before running modulemanager update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11983 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure b/configure
index 06e1952e8..fb4d5d842 100755
--- a/configure
+++ b/configure
@@ -531,9 +531,6 @@ else
print "no ($config{OSNAME})\n";
}
-print "Checking for upgrades to extra and third party modules... ";
-system "./modulemanager upgrade";
-
################################################################################
# BEGIN INTERACTIVE PART #
################################################################################
@@ -669,6 +666,7 @@ should NOT be used. You should probably specify a newer compiler.\n\n";
}
$config{USE_SSL} = "n";
+ $config{MODUPDATE} = 'n';
if ($config{HAS_GNUTLS} eq "y" || $config{HAS_OPENSSL} eq "y")
{
@@ -702,6 +700,13 @@ should NOT be used. You should probably specify a newer compiler.\n\n";
print "\nCould not detect OpenSSL or GnuTLS. Make sure pkg-config is installed if\n";
print "you intend to use OpenSSL, or that GnuTLS is in your path if you intend\nto use GnuTLS.\n\n";
}
+
+ yesno('MODUPDATE',"Would you like to check for updates to third-party modules?");
+ print "\n";
+ if ($config{MODUPDATE} eq "y") {
+ print "Checking for upgrades to extra and third party modules... ";
+ system "./modulemanager upgrade";
+ }
}
dumphash();