]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Fix broken quits (i broke them by taking out a check i didnt think was required ...
[user/henk/code/inspircd.git] / configure
index 15c31f1c7b37f7f3e0187569ccc15fe9e446a363..218a2996b1253b20e2cf9bd4da5d66a1acbef05a 100755 (executable)
--- a/configure
+++ b/configure
@@ -12,6 +12,7 @@
 #
 ########################################
 
+
 require 5.6.0;
 use Cwd;
 use Getopt::Long;
@@ -597,7 +598,7 @@ should NOT be used. You should probably specify a newer compiler.\n\n";
                        $var = $config{MAX_CLIENT};
                }
                if ($var =~ /^\d+$/) {
-                       if (($var > $config{MAX_CLIENT_T}) && ($fd_scan_failed ne true)) {
+                       if (($var > $config{MAX_CLIENT_T}) && ($fd_scan_fail ne "true")) {
                                # Client has entered a larger number than the 'discovered' value
                                # Confirm.
                                print "WARNING: Our scans have indicated that you are attempting
@@ -616,6 +617,7 @@ you wish to do this? It may cause the IRCd to malfunction [y/n]
                }
                # If we get here, we should be good to go.
                $config{MAX_CLIENT} = $var;
+               $config{MAX_DESCRIPTORS} = $var;
                $continue = 1;
                print "\n";
        }
@@ -1859,6 +1861,11 @@ sub showhelp
 {
        chomp($PWD = `pwd`);
        print "Usage: configure [options]
+
+*** NOTE: NON-INTERACTIVE CONFIGURE IS *NOT* SUPPORTED BY THE ***
+*** INSPIRCD DEVELOPMENT TEAM. DO NOT ASK FOR HELP REGARDING  ***
+***     NON-INTERACTIVE CONFIGURE ON THE FORUMS OR ON IRC!    ***
+
 Options: [defaults in brackets after descriptions]
 
 When no options are specified, interactive