]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Trivial fix, extra >s noted by owine
[user/henk/code/inspircd.git] / configure
index 4a0556bb39b7f373ea5ddb30559a2886ca28c2fd..735f10ca39555184829aa81dfb8579ac338a5714 100755 (executable)
--- a/configure
+++ b/configure
@@ -144,11 +144,11 @@ if (defined $opt_use_openssl)
 $config{OPTIMITEMP}     = "0";                                 # Default Optimisation Value
 if (!defined $opt_disable_debug)
 {
-       $config{OPTIMISATI}      = "-g";                                # Optimisation Flag
+       $config{OPTIMISATI}      = "-O2 -g1";                           # Optimisation Flag
 }
 else
 {
-       $config{OPTIMISATI}      = "";                                  # DEBUGGING OFF!
+       $config{OPTIMISATI}      = "-O2";                               # DEBUGGING OFF!
 }
 
 $config{NICK_LENGT}     = "31";                                        # Default Nick Length
@@ -763,7 +763,7 @@ sub getcache {
                # Ignore Blank lines, and comments..
                next if /^\s*$/;
                next if /^\s*#/;
-               my ($key, $value) = split("=", $_);
+               my ($key, $value) = split("=", $_, 2);
                $value =~ /^\"(.*)\"$/;
                # Do something with data here!
                $config{$key} = $1;