]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Expire lines on burst, and ensure that if an eline expires while we're checking eline...
[user/henk/code/inspircd.git] / configure
index 9b22f1e538e68419c45dec17e9665bd0af3545cb..517014d911031fb3a71ffdc456f823aa4e2c874c 100755 (executable)
--- a/configure
+++ b/configure
@@ -352,7 +352,7 @@ getmodules();
 
 sub clean
 {
-       system("rm -rf .config.cache");
+       unlink(".config.cache");
 }
 
 sub update
@@ -368,7 +368,7 @@ sub update
                        exit 0;
                } else {
                        # We've Loaded the cache file and all our variables..
-                       print "Updating Files..\n";
+                       print "Updating files...\n";
                        getosflags();
                        if ($opt_disable_debug == 1)
                        {
@@ -405,7 +405,7 @@ sub modupdate
                        exit 0;
                } else {
                        # We've Loaded the cache file and all our variables..
-                       print "Updating Files..\n";
+                       print "Updating files...\n";
                        getosflags();
                        $has_epoll = $config{HAS_EPOLL};
                        $has_ports = $config{HAS_PORTS};
@@ -1009,7 +1009,7 @@ sub getosflags {
 
        $config{LDLIBS} = "-lstdc++";
        $config{FLAGS}  = "-fPIC -Wall -pedantic $config{OPTIMISATI}";
-       $config{DEVELOPER} = "-fPIC -Wall -std=c99 -pedantic -g";
+       $config{DEVELOPER} = "-fPIC -Wall -pedantic -g";
        $SHARED = "-Wl,--rpath -Wl,$config{LIBRARY_DIR} -shared";
        $config{MAKEPROG} = "make";
 
@@ -1475,12 +1475,12 @@ sub write_dynamic_makefile
                        if ($name =~ /\.cpp$/)
                        {
                                open (CPP, "<$dir/$name") or die("Can't open $dir/$name to scan it! oh bugger");
+                               print ".";
                                while (chomp($line = <CPP>))
-                                       {
+                               {
                                        if ($line =~ /\/\* \$Core: (\w+) \*\//i)
                                        {
                                                $filelist{$name} = $1;
-                                               print ".";
                                        }
                                        elsif ($line =~ /\/\* \$ExtraDeps: (.*?) \*\//i)
                                        {
@@ -1529,7 +1529,7 @@ sub write_dynamic_makefile
                                                        $existing_install_list{$1} = 1;
                                                        $idir = (split(' ',$1))[1];
                                                        $ifile = (split(' ',$1))[0];
-                                                       $install_list = $install_list . "       -cp $1\n" if (!exists($existing_install_list{$1}));
+                                                       $install_list = $install_list . "       -cp $1\n";
                                                        $ifile =~ s/.*\///g;
                                                        $uninstall_list = $uninstall_list . "   -rm $idir/$ifile\n";
                                                }