Index: configure
===================================================================
--- configure	(revision 69)
+++ configure	(working copy)
@@ -59,7 +59,8 @@
 	$opt_maxbuf,
 	$opt_use_gnutls,
 	$opt_rebuild,
-	$opt_disable_debug);
+	$opt_disable_debug,
+	$opt_advanced);
 
 
 GetOptions (
@@ -99,6 +100,7 @@
 	'update' => sub { update(); },
 	'svnupdate' => sub { svnupdate(); },
 	'clean' => sub { clean(); },
+	'advanced' => \$opt_advanced,
 );
 
 my $non_interactive = (
@@ -705,17 +707,6 @@
 		print "not to enable one. Defaulting to select() engine.\n\n";
 	}
 
-	yesno('IPV6',"Would you like to build with IPv6 support?");
-	print "\n";
-
-	if ($config{IPV6} eq "y") {
-		print "You have chosen to build an \033[1;32mIPV6-enabled\033[0m server.\nTo accept IPV4 users, you can still use IPV4 addresses\nin your port bindings..\n\n";
-		$config{SUPPORT_IP6LINKS} = "y";
-	} else {
-		yesno('SUPPORT_IP6LINKS',"You have chosen to build an \033[1;32mIPV4-only\033[0m server.\nWould you like to enable support for linking to IPV6-enabled\n servers?\nIf you are using a recent operating\nsystem and are unsure, answer yes.\nIf you answer 'no' here, your server will be unable\nto parse IPV6 addresses (e.g. for CIDR bans)");
-		print "\n";
-	}
-
 	if (($config{HAS_GNUTLS} eq "y") && ($config{HAS_OPENSSL} eq "y")) {
 		print "I have detected both \033[1;32mGnuTLS\033[0m and \033[1;32mOpenSSL\033[0m on your system.\n";
 		print "I will default to GnuTLS. If you wish to use OpenSSL\n";
@@ -740,28 +731,49 @@
 		print "\nCould not detect OpenSSL or GnuTLS. Make sure pkg-config is installed if\nyou intend to use OpenSSL, or that GnuTLS is in your path if you intend\nto use GnuTLS.\n\n";
 	}
 
-	print "\nThe following questions will ask you for various figures relating\n";
-	print "To your IRCd install. Please note that these should usually be left\n";
-	print "as defaults unless you have a real reason to change them. If they\n";
-	print "changed, then the values must be identical on all servers on your\n";
-	print "network, or malfunctions and/or crashes may occur, with the exception\n";
-	print "of the 'maximum number of clients' setting which may be different on\n";
-	print "different servers on the network.\n\n";
+	yesno('IPV6',"Would you like to build with IPv6 support?");
+	print "\n";
 
-	# File Descriptor Settings..
-	promptnumeric("number of clients at any one time", "MAX_CLIENT_T");
-	$config{MAX_CLIENT} = $config{MAX_CLIENT_T};
-	$config{MAX_DESCRIPTORS} = $config{MAX_CLIENT_T};
+	### --advanced mod begin (daltocli, 21/07/07) ###
+	if(defined $opt_advanced) {
+		if ($config{IPV6} eq "y") {
+			print "You have chosen to build an \033[1;32mIPV6-enabled\033[0m server.\nTo accept IPV4 users, you can still use IPV4 addresses\nin your port bindings..\n\n";
+			$config{SUPPORT_IP6LINKS} = "y";
+		} else {
+			yesno('SUPPORT_IP6LINKS',"You have chosen to build an \033[1;32mIPV4-only\033[0m server.\nWould you like to enable support for linking to IPV6-enabled\n servers?\nIf you are using a recent operating\nsystem and are unsure, answer yes.\nIf you answer 'no' here, your server will be unable\nto parse IPV6 addresses (e.g. for CIDR bans)");
+			print "\n";
+		}
 
-	promptnumeric("length of nicknames", "NICK_LENGT");
-	promptnumeric("length of channel names", "CHAN_LENGT");
-	promptnumeric("number of mode changes in one line", "MAXI_MODES");
-	promptnumeric("length of an ident (username)", "MAX_IDENT");
-	promptnumeric("length of a quit message", "MAX_QUIT");
-	promptnumeric("length of a channel topic", "MAX_TOPIC");
-	promptnumeric("length of a kick message", "MAX_KICK");
-	promptnumeric("length of a GECOS (real name)", "MAX_GECOS");
-	promptnumeric("length of an away message", "MAX_AWAY");
+		print "\nThe following questions will ask you for various figures relating\n";
+		print "To your IRCd install. Please note that these should usually be left\n";
+		print "as defaults unless you have a real reason to change them. If they\n";
+		print "changed, then the values must be identical on all servers on your\n";
+		print "network, or malfunctions and/or crashes may occur, with the exception\n";
+		print "of the 'maximum number of clients' setting which may be different on\n";
+		print "different servers on the network.\n\n";
+
+		# File Descriptor Settings..
+		promptnumeric("number of clients at any one time", "MAX_CLIENT_T");
+		$config{MAX_CLIENT} = $config{MAX_CLIENT_T};
+		$config{MAX_DESCRIPTORS} = $config{MAX_CLIENT_T};
+
+		promptnumeric("length of nicknames", "NICK_LENGT");
+		promptnumeric("length of channel names", "CHAN_LENGT");
+		promptnumeric("number of mode changes in one line", "MAXI_MODES");
+		promptnumeric("length of an ident (username)", "MAX_IDENT");
+		promptnumeric("length of a quit message", "MAX_QUIT");
+		promptnumeric("length of a channel topic", "MAX_TOPIC");
+		promptnumeric("length of a kick message", "MAX_KICK");
+		promptnumeric("length of a GECOS (real name)", "MAX_GECOS");
+		promptnumeric("length of an away message", "MAX_AWAY");
+	} else {
+		$config{SUPPORT_IP6LINKS} = "y";
+		$config{MAX_CLIENT} = $config{MAX_DESCRIPTORS};
+		$config{NICK_LENGT} = 31;
+		$config{CHAN_LENGT} = 64;
+		$config{MAXI_MODES} = 20;
+	}
+	### --advanced mod end ###
 }
 
 dumphash();
Index: make/configure.pm
===================================================================
--- make/configure.pm	(revision 69)
+++ make/configure.pm	(working copy)
@@ -232,6 +232,7 @@
 
   --disable-interactive        Sets no options intself, but
                                will disable any interactive prompting.
+  --advanced                   Extends the configuration options.
   --update                     Update makefiles and dependencies
   --modupdate                  Detect new modules and write makefiles
   --svnupdate {--rebuild}      Update working copy via subversion
