X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=517014d911031fb3a71ffdc456f823aa4e2c874c;hb=98cfe3e3283605dca18e815a8c7ecc5f6b58a913;hp=99aed83961fde53fd1230031631f406cb5aa45a0;hpb=aaff4676438299c3bb2de08f85d626b69d99fc8d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 99aed8396..517014d91 100755 --- 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 = )) - { + { if ($line =~ /\/\* \$Core: (\w+) \*\//i) { $filelist{$name} = $1; - print "."; } elsif ($line =~ /\/\* \$ExtraDeps: (.*?) \*\//i) {