}
# Get and Set some important vars..
-getosflags();
getmodules();
my $arg = $ARGV[0]; # Do Some Argument Checks..
} else {
# We've Loaded the cache file and all our variables..
print "Updating Files..\n";
+ getosflags();
writefiles();
print "Complete.\n";
exit;
}
}
-getcache(); # Load the config.cache file.
+
+getcache();
+getosflags();
if (!$config{MAX_CLIENT}) {
# If the cache hasn't set the max clients, copy the variable of MAX_CLIENT_T, this
#define MAXBUF 514
EOF
- if ($config{GCCVER} == 3) {
+ if ($config{GCCVER} > 3) {
print FILEHANDLE "#define GCC3\n";
- if ($config{GCC34} > 3) {
- print FILEHANDLE "#define GCC34\n";
+ print FILEHANDLE "#define GCC34\n";
+ }
+ else
+ {
+ if ($config{GCCVER} == 3) {
+ print FILEHANDLE "#define GCC3\n";
+ if ($config{GCC34} > 3) {
+ print FILEHANDLE "#define GCC34\n";
+ }
}
}
if ($config{HAS_STRLCPY} eq "true") {
open(FILEHANDLE, ">src/modules/Makefile");
print FILEHANDLE <<EOF;
# (C) ChatSpike development team
-# Makefile by <Craig@ChatSpike.net>
-# Many Thanks to Andrew Church <achurch@achurch.org>
+# Makefile by <Craig\@ChatSpike.net>
+# Many Thanks to Andrew Church <achurch\@achurch.org>
# for assisting with making this work right.
#
# Automatically Generated by ./configure to add a modules