From 9e110fbd1db97d382efb1c2e2448fcd874e7e47b Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 30 Oct 2009 23:21:23 +0000 Subject: Ask before running modulemanager update git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11983 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'configure') 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(); -- cgit v1.2.3