git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1442
e03df62e-2008-0410-955e-
edbf42e46eb7
chomp($config{GCC34} = `gcc -dumpversion | cut -c 3`); # Minor GCC Version
chomp($config{OSNAME} = `/bin/uname -s`); # Operating System Name
chomp($config{GCC34} = `gcc -dumpversion | cut -c 3`); # Minor GCC Version
chomp($config{OSNAME} = `/bin/uname -s`); # Operating System Name
+print "OSN: '" . $config{OSNAME} . "'\n";
+
if (!$config{OSNAME}) {
chomp($config{OSNAME} = `/usr/bin/uname -s`);
if (!$config{OSNAME}) {
chomp($config{OSNAME} = `/usr/bin/uname -s`);
- if (!$config{OSNAME}) {
$config{OSNAME} = "Unknown";
}
}
$config{OSNAME} = "Unknown";
}
}