X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=517014d911031fb3a71ffdc456f823aa4e2c874c;hb=f11df046884c1c8692e6d2748a983a56a2217e17;hp=9b22f1e538e68419c45dec17e9665bd0af3545cb;hpb=da79274a2d095270ddc73822ab0eeb3647db3ebd;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 9b22f1e53..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) { @@ -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"; }